News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
What credentials should I use? OR I am getting an "Invalid resource owner credentials" error
Tags: rest api, errors, authentication
Feb 18, 2022 at 11:44am   •   1 replies  •  0 likes
Samyukta Bharadwaj
 "error" : "invalid_grant",
  "errors" : [ {
    "errorCode" : "OAU-140",
    "message" : "Invalid resource owner credentials"
  } ],
  "error_description" : "Invalid resource owner credentials"
1 Answer
answered on Feb 18, 2022 at 11:52am  

"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.


resetpassword.png


Also if your application is in production, you need to switch all your credentials from sandbox to production.


To Verify this,


  • Login to developer.ringcentral.com
  • Go to Console, click on your app and on the Dashboard go to View All Credentials.
  • Please confirm that all the credentials API server URL, CLient ID Client Secret Username and Password are all from Production as shown in screenshot below


viewallcredentials.png


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

consoleprofile-credentials.png you can also look at the extension when you log into service.ringcentral.com with the correct extension and password.


 2



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us