News & Announcements User Community Developer Community

Welcome to the RingCentral Community

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

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
authentication works on sandbox, but not on production
Tags: authentication
Dec 30, 2020 at 5:12pm   •   5 replies  •  0 likes
Matt Richmond


I created an app to send SMS, and works fine on the sandbox settings, but doesnt work when i change to production with proper clientid, client secret etc. It returns 'Invalid resource owner credentials' error.

Please help me out. Thanks


"error" : "invalid_grant",

"errors" : [ {

"errorCode" : "OAU-140",

"message" : "Invalid resource owner credentials"

} ],

"error_description" : "Invalid resource owner credentials"


5 Answers
answered on Dec 31, 2020 at 9:01am  

Please read this article. Summary, you cannot send SMS on behalf of other extensions. The number must belong to the extension who currently login your app, and the number must have the SmsSender feature.

In your case, I guess that you are using the company number from an extension which is not assigned with the SmsSender feature. Check the sample code from the quick start link below to see how to detect SMS feature before using the number.

answered on Dec 30, 2020 at 9:55pm  

i managed to get working, but got another question, how can i use other phone numbers that have different extension as from number other than the main number under telus business connect user list to send sms

answered on Dec 30, 2020 at 6:57pm  

ok, i changed the extension from 101 to 100, and passed the authorization, but got another strange error:


"errorCode" : "FeatureNotAvailable",

"message" : "The requested feature is not available",

"errors" : [ {

"errorCode" : "MSG-242",

"message" : "The requested feature is not available"

} ]


answered on Dec 30, 2020 at 6:47pm  

I checked everything and even reset the password, still same error

answered on Dec 30, 2020 at 6:25pm  

Clearly you logged in with wrong user credentials. Use the one that you can use to login


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

Developer Platform
Integrated Apps
App Gallery
Developer support
Games and rewards

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