Auth exception: Refresh token has expired

  • 1
  • Question
  • Updated 4 weeks ago
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"
  } ]
}


Photo of Nibu Eapen

Nibu Eapen

  • 310 Points 250 badge 2x thumb

Posted 1 month ago

  • 1
Photo of Tyler Long

Tyler Long, Official Rep

  • 8,152 Points 5k badge 2x thumb
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.
Photo of Nibu Eapen

Nibu Eapen

  • 310 Points 250 badge 2x thumb
My extension got changed and I'm not being informed. I used email id to login to the service console. Thanks for your help.