question

borimeto-65 avatar image
0 Likes"
borimeto-65 asked

How can I create an access token to call the analytics api?

I can't generate an access token because apparently the scopes I have provided aren't authorized.


I have created api credentials for the sandbox environment and have followed the steps in the documentation to encode them in the request for an access token (https://developer.ebay.com/api-docs/static/oauth-client-credentials-grant.html), and I have experimented with first providing all of my application's scopes in the request and then being more selective (https://developer.ebay.com/api-docs/static/oauth-scopes.html#specifying-scopes), but nothing seems to work. I then found this post (https://forums.developer.ebay.com/questions/23495/application-token-exceeds-the-scope-granted-to-the.html) which suggested using the api explorer (https://developer.ebay.com/my/api_test_tool?index=0&env=sandbox&api=fulfillment&call=order-orderid__GET&variation=json) to generate an access token, but my request was denied with that token as well.


Does anyone know which scopes I have to provide in order to get this access token?

access token
10 |600

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

0 Answers

·

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.