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

Generating an application access token using eBay RESTful APIs Error 401 grant type in request is no

0

https://developer.ebay.com/api-docs/static/oauth-client-credentials-grant.htmlindustrial-furniture

I am trying to generate an application access token in bubble.io but am getting hit with error 401 grant type in request is not supported by authorization server.

 

lewlHWJoNT

When I preview my page, chrome developer tools displays the following error:

{"error":"unsupported_grant_type","error_description":"grant type in request is not supported by the authorization server"}
Message 1 of 2
latest reply
1 REPLY 1

Generating an application access token using eBay RESTful APIs Error 401 grant type in request is no

@cirex-98 

 

Your "authorization" value shows only "Basic" but it needs to be followed by a space and your  base64-encoded (clientID:clientSecret) , like this:

 

Basic 12345abc:987xyz

 

So your "Grant type" that calls out "client_credentials" is relying on the credentials transmitted in the "authorization" field.

 

 

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 2
latest reply