question

replicada avatar image
0 Likes"
replicada asked ·

Unable to create Oauth Token (Sandbox)

I have created a web re-direct that allows me to create auth codes: - https://ebay-test-dot-kouzoh-p-daniel-belden.appspot.com/ However, when I pass these codes to the token API all I get in return is an `invalid_client` error: $ curl --silent \ > -X POST \ > -H "Content-Type: application/x-www-form-urlencoded" \ > -H "Authorization: Basic {REMOVED}" \ > -d "grant_type=authorization_code&code={REMOVED}&redirect_uri={REMOVED}" \ > " https://api.sandbox.ebay.com/identity/v1/oauth2/token" | jq { "error": "invalid_client", "error_description": "client authentication failed" } If I try and generate an OAuth access token via the eBay UI here: - https://developer.ebay.com/my/auth/?env=sandbox&index=0 I get re-directed back to the same page with a slightly different url and no token displayed: - https://developer.ebay.com/my/auth/?env=sandbox&index=0&auth_type=oauth&errorId=14000 What is `errorId=14000` and how do I resolve this issue on my account? Thanks, Dan
sandboxtokenoauth2grant_type
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.

1 Answer

· Write an Answer
ankit_developersupport avatar image
0 Likes"
ankit_developersupport answered ·
Hi @replicada Please execute GetTokenStatus call and check the status. As it is working fine on our end, for reference please see the attached screenshot. ![alt text][1] ![alt text][2] Let us know for further assistance. Best Regards, eBay Developer Support [1]: /storage/temp/2475-screenshot-1.png [2]: /storage/temp/2476-screenshot-3.png

screenshot-1.png (62.3 KiB)
screenshot-3.png (13.8 KiB)
· 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.