question

omniby_45 avatar image
1 Like"
omniby_45 asked

eBay Browse API getItems call - Insufficient permissions to fulfill the request.

I am getting the following error message when making a 'getItems' call to the eBay Browse API. The error message is as follows:

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

I am providing the exact same authorisation tokens and access headers that I normally provide when making a 'getItem' call and the 'getItem' call works fine, but I only get the above error for the 'getItems' call.

I have checked the eBay 'getRateLimits' API and it does appear that I should have access to the 'getItems' API call, so I am unsure as to why it gives me the above error. Below is the information returned when I make the 'getRateLimits' call.

   {
      "apiContext":"buy",
      "apiName":"Browse",
      "apiVersion":"v1",
      "resources":[
         {
            "name":"buy.browse",
            "rates":[
               {
                  "limit":1500000,
                  "remaining":837015,
                  "reset":"2021-08-12T07:00:00.000Z",
                  "timeWindow":86400
               }
            ]
         },
         {
            "name":"buy.browse.item.bulk",
            "rates":[
               {
                  "limit":100000,
                  "remaining":100000,
                  "reset":"2021-08-12T07:00:00.000Z",
                  "timeWindow":86400
               },
               {
                  "limit":6000,
                  "remaining":6000,
                  "reset":"2021-08-12T00:54:00.000Z",
                  "timeWindow":360
               }
            ]
         }
      ]
   },


browse apigetitemcallgetitems
· 1
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.

Good information.
0 Likes 0 ·

1 Answer

· Write an Answer
sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @omniby_4,

For executing the getItems call of Browse API, you need to generate a access token created with the client credentials grant flow, using the scope https://api.ebay.com/oauth/api_scope

Ref: https://developer.ebay.com/api-docs/static/oauth-client-credentials-grant.html

Note: getItems call is a Limited Release available only to select Partners.
Ref: https://developer.ebay.com/api-docs/static/versioning.html#limited

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.