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

Application access token for iOS

I'm trying to create an eBay iOS app for the seller, I have an issue with getting the user access token. I requested the Application access token API , but I got a 405 error and the message says "Unexpected error occurred, please contact resource provider".  Can anyone help out with what I'm missing?

 

Thanks.

Message 1 of 3
latest reply
2 REPLIES 2

Re: Application access token for iOS

@dex-6423 

 

I use only the "client credentials (application) and not the "authorization code" (user), but am wondering if the "scope" is missing in the vicinity of the grant _type.

ShipScript has been an eBay Community volunteer since 2003, specializing in HTML, CSS, Scripts, Photos, Active Content, Technical Solutions, and online Seller Tools.
Message 2 of 3
latest reply

Re: Application access token for iOS

I tried to use the "client_credentials" grant type, but it still returned 405 error and the message says that "Unexpected error occurred, please contact resource provider".

My request body is below.

{"scope":"https%3A%2F%2Fapi.ebay.com%2Foauth%2Fapi_scope https:%3A%2F%2api.ebay.com%2oauth%2api_scope%2sell.account","grant_type":"client_credentials"}

 Is it not possible to call it on iOS?

Message 3 of 3
latest reply