04-04-2025 07:38 PM
In the API Explorer, I'm trying to use the Inventory API for the call "getInventoryItems" with a user account token that was generated individually from using the "sign in to production" feature in the developer portal, under user keys (I'm new, so this is a new app with a new production token and likewise my seller account has a new account token as well).
I received a user account access token (for my current store) and tried copying and pasting that into the API explorer token section, and selected execute, and got this error message for the "getInventoryItems" call from the Inventory API:
{
"errors": [
{
"errorId": 1100,
"domain": "ACCESS",
"category": "REQUEST",
"message": "Access denied",
"longMessage": "Insufficient permissions to fulfill the request."
}
]
}
What am I doing wrong? I checked permissions and it does have these:
"https://api.ebay.com/oauth/api_scope/sell.inventory.readonly" and "https://api.ebay.com/oauth/api_scope/sell.inventory".
The only thing I can think of is that I copied and pasted the user account token after retrieving the token from the "sign in to production" feature separately, because the link to "Get OAuth User Token" is nonresponsive. I've disabled my ad blocker (UBlockOrigin) and refreshed the page but the link is still nonresponsive, and copying the url or opening it in a new tab doesn't work either.
Is there some special production permission I missed? I'm just trying to get a long list of my own inventory using my own account token in the API explorer to troubleshoot it before implementing an API wrapper in python, thanks!