question

house.for.home avatar image
0 Likes"
house.for.home asked ·

GetTrafficReport works with only OAuth token!

Hi, I have been trying to get traffic report for my store using Auth n Auth token, but it just gives out an error stating "Invalid token type:ToKEN". Then I replaced the Authorization Header with "Bearer" and an OAuth token and it worked successfully. So just wanted to confirm, does this api not work with Auth'n'Auth tokens?
auth n auth and 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
sanjiv_developersupport avatar image
0 Likes"
sanjiv_developersupport answered ·
Hi @house.for.home, This request requires an OAuth access token created with the [authorization code grant flow][1], using one or more scopes from the following list (please check your Application Keys page for a list of OAuth scopes available to your application): https://api.ebay.com/oauth/api_scope/sell.analytics.readonly It doesn't work with Auth n Auth token. See [OAuth access tokens][2] for more information. Best Regards, eBay Developer Support [1]: https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html [2]: https://developer.ebay.com/api-docs/static/oauth-tokens.html
· 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.