question

antykwariat_poliart avatar image
0 Likes"
antykwariat_poliart asked ·

Getting User Token via UI interface is returning 500, Auth'n'Auth token leads to 1001

Hi, Trying to connect to my Production Seller Account. **Getting OAuth User Token:** When using the tool for getting User Token: https://developer.ebay.com/my/auth/?env=production&index=0&auth_type=oauth and clicking button "Sign in to Production for OAuth" I keep getting redirected to: https://auth.ebay.com/oauth2/error?errorId=temporarily_unavailable that returns: {"error_id":"temporarily_unavailable","error_description":"The authorization server is currently unable to handle the request.","http_status_code":500} I can get Auth'n'Auth token using that tool. I'm able to finish the flow and I see app being granted access on my Seller Account but seems not a much of use in API Explorer and Postman (both ways I receive error 1001 when trying to use it in Authentication header). **Trying to test API via API Explorer** When trying to go via API test tool: https://developer.ebay.com/my/api_test_tool?index=0&env=production and picking my App, Inventory API, getInventoryItems and using Auth'n'Auth token I get: "errorId": 1001 -> Invalid access token If I use the link "Get OAuth User Token" from API Explorer I receive same error: https://auth.ebay.com/oauth2/error?errorId=temporarily_unavailable {"error_id":"temporarily_unavailable","error_description":"The authorization server is currently unable to handle the request.","http_status_code":500} **My questions:** 1) Can you please check whether the OAuth authentication works fine on your end? I'm trying to access it via your Web Interface. 2) Can I use Auth'n'Auth token for API Explorer or Postman callouts? If so, why I receive error 1001? My username: jakubkalke Best regards Jakub Kalke
oauth
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
anisha_developersupport avatar image
0 Likes"
anisha_developersupport answered ·
Hi @antykwariat_poliart, When we check at our end the OAuth authentication works fine. All eBay REST APIs use the OAuth 2.0 protocol for application and user authorization. GetInventoryItem request requires an access token created with the authorization code grant flow i.e. User token , using one or more scopes from the following list. You cannot use auth n auth token for Restful APIs. REF: https://ebaydts.com/eBayKBDetails?KBid=5075 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.