Comunidade

Ask a Question
Back to All

unsupported_grant_type

Eu ainda não encontrei ninguem respondendo esse problema e a documentação de vocês não fala nada sobre isso, vou ter que esperar mais 4 anos para vocês responderem?

https://sandbox.melhorenvio.com.br/oauth/authorize?client_id=X&redirect_uri=X&response_type=code&scope=cart-read%20cart-write%20companies-read%20companies-write%20coupons-read%20coupons-write%20notifications-read%20orders-read%20products-read%20products-write%20purchases-read%20shipping-calculate%20shipping-cancel%20shipping-checkout%20shipping-companies%20shipping-generate%20shipping-preview%20shipping-print%20shipping-share%20shipping-tracking%20ecommerce-shipping%20transactions-read%20users-read%20users-write

Ou Assim:
https://sandbox.melhorenvio.com.br/oauth/authorize?client_id=x&redirect_uri=x&response_type=code&scope=cart-read

Em qualquer tentativa o erro é:
{"error":"unsupported_grant_type","error_description":"The authorization grant type is not supported by the authorization server.","hint":"Check that all required parameters have been provided","message":"The authorization grant type is not supported by the authorization server."}