can't add scopes to for my oauth token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-05-2023 05:48 AM
so i have this code thats works
```python
```
but the problem is, when i try to add more scopes like https://api.ebay.com/oauth/api_scope/sell.marketing.readonly or https://api.ebay.com/oauth/api_scope/sell.inventory.readonly
i get the Response: 400 (bad request)
so i really don't know how to do that
can't add scopes to for my oauth token
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-06-2023 02:23 PM
https://developer.ebay.com/api-docs/static/oauth-scopes.html
eBay has two types of authorizations:
- Client credentials—gives your client application a token to request publicly available data from eBay. Client Credentials have limited use on the site, since the publicly available data has a limited scope.
- Authorization code—grants access to a specific user's private data via a user-approved token. An Authorization code has a broader array of scopes (varying degrees of limited access) to a user's private data.
https://developer.ebay.com/api-docs/static/oauth-scopes.html#Getting
A private user-based scope can not be applied to public Client credentials.
I believe multiple scopes are space delimited:
'scope':'value1 value2 value3'
But make sure that the scope you want to add is valid for the API call.
The developer forums are here:
https://community.ebay.com/t5/Developer-Groups/ct-p/developergroup
