cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Insufficient permissions to fulfill the request

From Postman I'm testing: https://api.sandbox.ebay.com/buy/browse/v1/item_summary/search?q=drone

but the response is: 

{
"errors": [
{
"errorId": 1100,
"domain": "ACCESS",
"category": "REQUEST",
"message": "Access denied",
"longMessage": "Insufficient permissions to fulfill the request."
}
]
}
 
Before to send the GET, I've request the token authentication correctly by post: 
curl -X POST 'https://api.sandbox.ebay.com/identity/v1/oauth2/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-H 'Authorization: Basic ....\ 
-d 'grant_type=client_credentials&scope=https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope https:%3A%2F%2api.ebay.com%2oauth%2api_scope%2sell.account'
 
Can anybody help me?
Message 1 of 2
latest reply
1 REPLY 1

Insufficient permissions to fulfill the request

Hi @aflt_45 

 

Browse API search call requires an access token created with the client credentials grant flow, using the "https://api.ebay.com/oauth/api_scope"  scope. 

 

Also for the reference, see the cURL code snippet for client credentials grant flow below:

curl --location 'https://api.sandbox.ebay.com/identity/v1/oauth2/token' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Basic ............' \
--data-urlencode 'grant_type=client_credentials' \
--data-urlencode 'client_credentials=https://api.ebay.com/oauth/api_scope'

 

Best Regards,
eBay Developer Support
Message 2 of 2
latest reply