question

remimx5 avatar image
0 Likes"
remimx5 asked

API_CATALOG: Insufficient permissions to fulfill the request. Error id: 75015

I got the next error when i try to call any of the both catalogs methods (search/getProduct), i have declared some scopes, and i have included the next two:

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

to get the oauth app access_token, but i got the error get try to call to the the catalog-search/getProduct api:

  
                
  1. { "errors": [ { "errorId": 75015, "domain": "API_CATALOG", "category": "REQUEST", "message": "Insufficient permissions to fulfill the request." } ] }

rlogid : t6%60drfojafsl%3C%3Dqkidbqgklbgwj%28j%3Eo0u*w%60ut3541-17d544138b2-0x153

any idea? thanks in advance

catalog apicatalog api error
10 |600

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

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @remimx5,

Catalog API calls require an access token created with the authorization code grant flow (access token retrieved from this process is called the User access token), using the following scopes:
https://api.ebay.com/oauth/api_scope/sell.inventory
https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly

It seems like your application is not having https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly scope.
please check your Application Keys page for a list of OAuth scopes available to your application.
Ref: https://developer.ebay.com/api-docs/static/oauth-scopes.html#

Best Regards,
eBay Developer Support

10 |600

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

remimx5 avatar image
0 Likes"
remimx5 answered

hanks for reply @sagar_developersupport , but on

/my/keys > production > OAuth scopes > i dont have the > https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly scope on the listed table


but when i generate the oauth token, I include the https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly scope, and now you said i dont have declared this


why this scope not appears on the table?


1637956206962.png (79.2 KiB)
1637956229960.png (38.2 KiB)
10 |600

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

remimx5 avatar image
0 Likes"
remimx5 answered

@sagar_developersupport how can i get access to the scope:

https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly, because if i add this scope to the scope list i got an error (invalid scope) and this scope not appears in the oauth production scopes table for my app.

and i if only use the scope https://api.ebay.com/oauth/api_scope/sell.inventory i got the error:

    errorId: 75015,
    domain: 'API_CATALOG',
    category: 'REQUEST',
    message: 'Insufficient permissions to fulfill the request.',


10 |600

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

sagar_developersupport avatar image
0 Likes"
sagar_developersupport answered

Hi @remimx5,

Please file Compatible App Check to enable the additional scope. Please use the instructions below to locate the appropriate form for submission of a Compatible Application Check request in order to get the access of any Restricted API.
1. Go to https://developer.ebay.com/my/support/tickets?tab=app-check
2. Log in with your eBay Developer Program account information
3. Fill out the questions asked in the form and submit.

Best Regards,
eBay Developer Support

10 |600

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

jonolds avatar image
0 Likes"
jonolds answered

Follow up question: The documentation says it only requires one of sell.inventory or commerce.catalog.readonly.

https://developer.ebay.com/api-docs/commerce/catalog/resources/product_summary/methods/search#h2-samples


I'm having the same issue. I've tried both a client token with sell.inventory and a user token with sell.inventory. What's the correct method? Does it actually require both and the documentation is wrong?

· 1
10 |600

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

dyreknyc avatar image dyreknyc commented ·

eBay Developer Support says: (which doesn't help):

To use the Catalog API you do not require access of scope: https://api.ebay.com/oauth/api_scope/commerce.catalog.readonly because Catalog API calls requires an access token created with the authorization code grant flow, using the https://api.ebay.com/oauth/api_scope/sell.inventory scope. Please create a token with the sell.inventory scope only and it should work for the Catalog API. For more information please go through "OAuth scope" https://developer.ebay.com/api-docs/commerce/catalog/resources/product/methods/getProduct.
0 Likes 0 ·

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.