11-03-2023 05:35 AM
I am trying to access the https://apim.ebay.com/commerce/media/v1_beta/video api with user access token but every time it is giving
But while access the GetUser api of Trading api it is returning proper data.
I am not understanding what permission did I miss.
I have generated the user token from ebay developer console.
It will be helpful if I get any help
11-04-2023 09:23 AM - edited 11-04-2023 09:23 AM
While the Trading API can use either Auth-n-Auth or Oauth, the Media call requires the user authorization grant, which is a three part OAuth process that sets and retrieves a token in the user account:
https://developer.ebay.com/api-docs/static/oauth-authorization-code-grant.html
The Media call must also set the correct scope:
https://api.ebay.com/oauth/api_scope/sell.inventory
Make sure that you are using the Production keyset if not testing in the Sandbox.