2 months ago
Error trying to refresh token
Testing on POSTMAN a POST request to https://secure.myob.com/oauth2/v1/authorize
with x-www-form-urlencoded data:
client_id: ...
client_secret: ...
grant_type: refresh_token
refresh_token: ...
it is returning 400 bad request:
{
"error": "invalid_grant",
"error_description": "The provided authorization grant (e.g., authorization code, resource owner credentials) or refresh token is invalid, expired, revoked, does not match the redirection URI used in the authorization request, or was issued to another client."
}
What is wrong?