question

wat063 avatar image
0 Likes"
wat063 asked ·

Insufficient permissions to fulfill the request - commerce - taxonomy works but catalog does not

When I call this api: /commerce/taxonomy/v1_beta/get_default_category_tree_id The token user token is accepted. When I call this api: /commerce/catalog/v1_beta/product_summary/search There is an error not allowing me access { errors: [ { errorId: 1100, domain: ACCESS, category: REQUEST, message: Access denied, longMessage: Insufficient permissions to fulfill the request. } ] } I am slightly confused it is both public data? I am generating the Application Access Token successfully and testing it against: /commerce/taxonomy/v1_beta/get_default_category_tree_id With no problems. Please advise why there are restrictions on the catalog API. Is it possibly my user account or a system bug that is causing this? My credentials work for within the commerce API getDefaultCategoryTreeId and getCategoryTree but not for https://developer.ebay.com/api-docs/commerce/catalog/resources/product_summary/methods/search I would suspect that https://developer.ebay.com/api-docs/commerce/catalog/resources/product/methods/getProduct is as well going to throw an error. Please if anyone can explain why it won't work and how to rectify it would be appreciated.
apierrorcatalog apicataloginsufficient permissions to fulfill the requesttaxonomy apicatalog api product search
· 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.

Hello, I have exactly the same problem. Have you found a solution to this problem?

0 Likes 0 · ·

1 Answer

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

Hi @dedyac86,

GetDefaultCategoryTreeId request requires an access token created with the client credentials grant flow, 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
while Search request of catalog API requires an access token created with the authorization code grant flow(https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html), 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.inventory

https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly

Please use user access token to make Search call of catalog API.

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.