question

prashan-963 avatar image
0 Likes"
prashan-963 asked ·

Not able to access oauth2 token api in sandbox

I am getting an error in below mentioned API:

https://api.sandbox.ebay.com/identity/v1/oauth2/token


Error: {

"error": "invalid_client","error_description": "client authentication failed"}

Screenshot 2020-11-03 at 3.00.06 PM.pngScreenshot 2020-11-03 at 3.00.13 PM.pngScreenshot 2020-11-03 at 3.00.25 PM.png

sandboxauth-token
10 |600 characters needed characters left characters exceeded

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

prashan-963 avatar image
0 Likes"
prashan-963 answered ·

@Vertika_developerSupport Yes we are passing authorisation. but still not working


· Share
10 |600 characters needed characters left characters exceeded

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

tonisa-41 avatar image
0 Likes"
tonisa-41 answered ·

Facing same problem. please help me out if you find any solution for this expresshr.

· Share
10 |600 characters needed characters left characters exceeded

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

vertika_developersupport avatar image
0 Likes"
vertika_developersupport answered ·

Hi @prashan-963,

Please make sure that you are passing 'B64-encoded-oauth-credentials' in Authorization = Basic <B64-encoded-oauth-credentials>
REF: https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html
Please refer below doc to Generate your Base64-encoded credentials:
https://developer.ebay.com/api-docs/static/oauth-base64-credentials.html


Best Regards,
eBay Developer Support

· Share
10 |600 characters needed characters left characters exceeded

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

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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