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
Unable to authenticate to API in production but can in sandbox
Tags: rest api
Aug 27, 2021 at 8:51am   •   2 replies  •  0 likes
Anthony Finn

I've created an API to allow me to read call logs and I can connect to the sandbox version and make the call great.

I have satisfied the requirements to promote/graduate to production and have production version. I amend my code to use the production ClientId & Secret, the the restclient Production parameter to true & I use the production username but receive following 400:

Content: {

"error" : "invalid_grant",

"errors" : [ {

"errorCode" : "OAU-140",

"message" : "Invalid resource owner credentials"

} ],

"error_description" : "Invalid resource owner credentials"

}

The only difference I can make out is the Password doesn't show "Active" but I'm unable to Reset password.

1630079322740.png


Can anyone advise?


Cheers

2 Answers
answered on Aug 31, 2021 at 4:50am  

Thanks @Anirban , I am unable to "Reset Password" for my Production platform app. I believe this is my problem? I click "Reset Password" but am not presented with a form to amend the password, simply a message that a confirmation mail is sent to my admin email?


 0
answered on Aug 27, 2021 at 10:29am  

"Invalid resource owner credentials" means username or password is wrong. In theory, as long as you can login https://service.ringcentral.com , you should also be able to get a token.

Ref: https://community.ringcentral.com/questions/1108/incorrect-account-information-when-resetting-passw.html


 0



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