question

zamo-zuan avatar image
0 Likes"
zamo-zuan asked

getTrafficReport - Access denied?

Attempting to use any of the examples, or even the default in API explorer, is resulting in:


  "errors": [
    {
      "errorId": 1100,
      "domain": "ACCESS",
      "category": "REQUEST",
      "message": "Access denied",
      "longMessage": "Insufficient permissions to fulfill the request."
    }
  ]
}

Are there any special requirements for this call? Other calls aren't giving problems in the explorer.

analytics api
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
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @zamo-zuan,

getTrafficReport requires an access token created with the authorization code grant flow, using the scope: https://api.ebay.com/oauth/api_scope/sell.analytics.readonly

Ref: https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html

Please make sure to use the scope https://api.ebay.com/oauth/api_scope/sell.analytics.readonly when generating the User access token and use this User access token to execute the call.

Best Regards,
eBay Developer Support

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.