Question

Auth exception: Refresh token has expired

  • 19 October 2018
  • 2 replies
  • 3275 views

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

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.

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

Reply