10-07-2024 12:37 AM
I tried calling get_regulatory_policies authorized with a user (it includs acces to: https://api.ebay.com/oauth/api_scope) access token:
https://api.ebay.com/sell/metadata/v1/marketplace/77/get_regulatory_policies?filter=%7B53159%7DHTTP/2
The answer was:
"errors":[{"errorId":1100,"domain":"ACCESS","category":"REQUEST","message":"Access denied","longMessage":"Insufficient permissions to fulfill the request."}]}
Is it possible that for the call the scope: https://api.ebay.com/oauth/api_scope/metadata.insights is necessary?
if so, the function is useless because the developer support wrote in response to the question about access on March 8, 2021:
" After carefully reviewing, your request for Buyer Demand data access is rejected by the Business Unit."
10-21-2024 09:34 AM
Hi @ardonis-2000,
getRegulatoryPolicies call of Metadata requires an access token created with the client credentials grant flow, using the scope "https://api.ebay.com/oauth/api_scope". You can check the "OAuth scope" section in the API documentation to get the information on required access token and scope for the call.