Skip to main content
The First Step
October 19, 2018
Question

Auth exception: Refresh token has expired

Everything was working fine and It started throwing following error after I made a mistake. I have passed wrong appKey onetime. But not working after reverting back.



Auth exception: Refresh token has expired

Exception: Invalid resource owner credentials

SDK HTTP Error at https://platform.ringcentral.com/restapi/oauth/token

Response text: {


"error" : "invalid_grant",

"error_description" : "Invalid resource owner credentials",

"errors" : [ {


"errorCode" : "OAU-140",

"message" : "Invalid resource owner credentials"

} ]

}



2 replies

Employee
October 19, 2018
You might have specified the wrong username/password.  Or you changed your password but forgot to update it in your app.

By the way, are you using password flow or auth code flow? It helps me to troubleshoot further if you could provide more details and preferably post some code.
The First Step
July 6, 2019

You need to check your credential again and may be the case that there is still wrong input exists in your credentials or other input like extension , password etc