Back to All

Refresh Token API not working

We have been using oAuth for our application for a while. Recently "oauth2/token" for refresh_token has been failing with error "The request is missing a required parameter, includes an invalid parameter value, includes a parameter more than once, or is otherwise malformed" with error_hint "Make sure that the various parameters are correct, be aware of case sensitivity and trim your parameters. Make sure that the client you are using has exactly whitelisted the redirect_uri you specified"

We are passing all mandatory fields

"refresh_token","grant_type","redirect_uri" as x-www-form-urlencoded

Headers:
Authorization : Basic {{base64 encoded credentials}}

I reverified the refresh_token and credentials multiple time.

Not sure why the API says it it missing required parameter. Can someone help us with this?