we are following the OAuth flow for OAuth.
After the first access token has expired when we try to get a new access token using the refresh token as mentioned in the documentation we get the following error
{
"error": "invalid_grant",
"error_description": "The provided refresh_token is invalid"
}