"error" : "invalid_grant", "errors" : [ { "errorCode" : "OAU-140", "message" : "Invalid resource owner credentials" } ], "error_description" : "Invalid resource owner credentials"
"error" : "invalid_grant", "errors" : [ { "errorCode" : "OAU-140", "message" : "Invalid resource owner credentials" } ], "error_description" : "Invalid resource owner credentials"
"Invalid resource owner credentials" error usually occurs when the credentials are incorrect. Please try logging in to Service web (service.ringcentral.com) using the same credentials (username, Extension and password) you are using to authorize the application to make API calls. If your password is incorrect, you can reset it yourself by clicking the Forgot password link. You can go ahead and do that by clicking on the Forgot Password link.
Also if your application is in production, you need to switch all your credentials from sandbox to production.
To Verify this,
Please note that the extension provided in the developer portal is a default extension 101 which never changes and may not be your extension.. So for extension, use the one that you are trying to login from your code. To get the correct extension number you can also login to service.ringcentral.com (for production) and service.devtest.ringcentral.com for (sandbox). The password that you input should be associated with the extension.
Use the correct extension:
Please note that the Extension you see in the developer portal console (above image) is the admin default extension OR the extension that was created first in the system.
Each user has their own extension and a password associated with that extension. In order to see which extension to use, you must check your profile
you can also look at the extension when you log into service.ringcentral.com with the correct extension and password.
Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.
Download RingCentral Phone for Desktop:
Tip: switch to the "sandbox mode" before logging in the app:
5 People are following this question.
Curl restapi/oauth/token "errorCode" : "OAU-251", "message" : "Unauthorized for this grant type"
OAU-153 Invalid Client ID when attempting JWT auth
Authention issue while getting token using Auth code ,3-legged oauth code flow error
Glip.DevTest.RingCentral.Com Issues - why can I not sign in?
"Sorry, the service is temporarily unavailable" Error while trying to create Sandbox account