02-07-2023
12:19 AM
- last edited on
02-09-2023
08:04 AM
by
kh-vince
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.
02-08-2023 09:45 PM
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.
02-10-2023 01:43 AM
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?