cancel
Showing results for 
Search instead for 
Did you mean: 

refresh_token error

tianchengz
Community Member

When Google sent a refresh_token request, I returned an HTTP 400 Bad Request error with the body text {"error": "invalid_grant"}, which caused the problem of all user devices being offline. Can I take any remedial measures for this situation? Or it can be re linked by the user!

1 Recommended Answer

sipriyadarshi
Solutions Expert
Solutions Expert

Hello @tianchengz ,

The reason HTTP 400 Bad Request error with the body text {"error": "invalid_grant"} is being returned could be attributed to the fact that there could be a possible mismatch in any one of the following parameters, "client_id" or "client_secret" or "authorization code" or "redirect_uri". You can solve this issue by asking the user to carry out the re-link process from scratch. 

More information in this regard can be found here

 

View Recommended Answer in original post

1 REPLY 1

sipriyadarshi
Solutions Expert
Solutions Expert

Hello @tianchengz ,

The reason HTTP 400 Bad Request error with the body text {"error": "invalid_grant"} is being returned could be attributed to the fact that there could be a possible mismatch in any one of the following parameters, "client_id" or "client_secret" or "authorization code" or "redirect_uri". You can solve this issue by asking the user to carry out the re-link process from scratch. 

More information in this regard can be found here