question

genomcdonald avatar image
genomcdonald asked genomcdonald commented

Getting 401 Unauthorized when making any API calls using OAuth2 token

I am constantly receiving 401 Unauthorized when calling the EComm Get a Charge and Refund a Charge. The correct permissions have been applied to the application (FF2YD4ZPD16R8) and a new token has been generated. Using the new token I am able to record a new payment, but cannot retrieve the payment immediately after creating it and I can't refund it. I can create more payments though. Please advise.

e-commerce api
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

1 Answer

David Marginian avatar image
David Marginian Deactivated answered genomcdonald commented
5 comments
10 |2000

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

genomcdonald avatar image genomcdonald commented ·

I have already gone through all of the steps, including uninstalling the application and reinstalling it after adding the permissions. I am also using the API Reference document to ensure that there are no issues with the headers or content. After all this, it still indicates 410 Unauthorized, but only on the Gets and Refunds.

0 Likes 0 ·
David Marginian avatar image David Marginian ♦♦ genomcdonald commented ·

What environment and what is your app id?

0 Likes 0 ·
genomcdonald avatar image genomcdonald David Marginian ♦♦ commented ·

This is in the sandbox environment and the app id is provided above.

0 Likes 0 ·
Show more comments

Welcome to the
Clover Developer Community