question

yospermtest avatar image
0 Likes"
yospermtest asked ·

Grant type in request is not supported by the authorization server

Hi, I'm trying to get my access token but I've got the following error description: { "error": "unsupported_grant_type", "error_description": "grant type in request is not supported by the authorization server" } I follow [this][1] article for "Using a refresh token to update a User access token" but it doesn't work to me. I already try to find a solution in the web so this is what I did so far (Using postman): Header: 1. set `Content-Type` to `application/x-www-form-urlencoded` 2. Set `Authorization` to `Basic Base64 encoded (<client_id>:<client_secret>)` I know this is the right Authorization since it already worked. Body (under x-www-form-urlencoded type): 1. I tried to set `grant_type ` to both 'authorization_code`and `refresh_token` 2. New `refresh_token` was generated by following [this][2] guide. 3. Scope was set to ` https://api.ebay.com/oauth/api_scope` Please advice me what am I doing wrong and how can I fix it, Thank! [1]: https://developer.ebay.com/api-docs/static/oauth-refresh-token-request.html [2]: https://developer.ebay.com/api-docs/static/oauth-consent-request.html
oauthtoken renewgrant_type
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tutrk52 avatar image
0 Likes"
tutrk52 answered ·

It passed one year over the question but no answer. I think this community does not working well.

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

tutrk52 avatar image
0 Likes"
tutrk52 answered ·

@yospermtest have you solved the issue? I am dealing the same issue right now.

· Share
10 |600 characters needed characters left characters exceeded

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

Up to 2 attachments (including images) can be used with a maximum of 512.0 KiB each and 1.0 MiB total.