10-09-2023 11:54 PM
While I am testing UploadSiteHostedPictures api in sandbox, it requries my sanbox token.
I go to Home -> User Tokens (eBay Sign-In) -> select sandbox -> Get OAuth Application Token, and generate a fresh new token.
While I am using the token together with sanbox appId, certId,devId in the api call to eBay, it returns "
11-15-2023 08:57 AM
Hi @cclu6429
OAuth Application Token is not a valid token for Trading API calls. Trading API calls like UploadSiteHostedPictures requires the user access token for authorizing the calls. You can either use Auth`n`Auth user access token or OAuth User access token for executing the Trading API calls.
Making a Trading API Call: https://developer.ebay.com/devzone/xml/docs/Concepts/MakingACall.html
Getting User access tokens via the Developer Portal: https://developer.ebay.com/api-docs/static/oauth-ui-tokens.html#user