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
Getting "Error: Invalid resource owner credentials at Client."
Tags: getting started
Feb 23, 2021 at 7:37am   •   3 replies  •  0 likes
Elliot Jackson

Following your install and run demo for SMS

Full error: Error: Invalid resource owner credentials at Client.<anonymous> (/home/pi/sms-api-nodejs-demo/node_modules/ringcentral/src/http/Client.js:62:38)

Here's my .env....


# The Client ID of the app
RINGCENTRAL_CLIENT_ID= FhF_xxxxxxxxxxxx_FnxQ

# The Client Secret of the app
RINGCENTRAL_CLIENT_SECRET= JxI3xxxxxxxxxxxxxxx4_Fw

# The phone number used by the developer when logging into RingCentral. This number will be
# different in sandbox and production. This is also the sender of the message.
RINGCENTRAL_USERNAME= +12094250842

# The extension used by the developer when logging into RingCentral. This is only necessary if
# the username/sender above is the company phone number.
RINGCENTRAL_EXTENSION= 101

# The password used by the developer when logging into RingCentral
RINGCENTRAL_PASSWORD= Axxxxxxxxxxxx

# The phone number of the recipient
RECIPIENT_PHONE_NUMBER= 07801670386

# The base URL for call API calls
# Sandbox
RINGCENTRAL_SERVER_URL=https://platform.devtest.ringcentral.com
# Production
#RINGCENTRAL_SERVER_URL=https://platform.ringcentral.com

I'm new to RingCentral so will greatly appreciate your assist...

EJ




3 Answers
answered on Feb 23, 2021 at 11:17am  

Nope - can't log in to sandbox even with the new password!!


 0
on Feb 23, 2021 at 11:37am   •  1 likes

So don't expect to login with your app. You see, the problem has been purely your wrong username and password. Solve that before trying to log in your app with the same credentials.

You can login your RingCentral developer portal (remember this is different login credentials than your sandbox), then select he Sandbox Accounts and click the icon on the right site (go online) to open your sandbox account. But you still need to reset your account password if you don't remember it.

on Feb 24, 2021 at 3:26am   •  0 likes

Getting further - I've got this message...

Error: International SMS is not available for account at Client.<anonymous> (/home/pi/sms-api-nodejs-demo/node_modules/ringcentral/src/http/Client.js:62:38) at processTicksAndRejections (node:internal/process/task_queues:94:5)


So what do I need to send SMS in the UK?


on Feb 24, 2021 at 9:04am   •  0 likes

Sandbox or production? No support for sandbox and for production, it can to be enabled by an account admin.

answered on Feb 23, 2021 at 11:06am  

Tried to login to Sandbox account....

Took a looooong time to be forwarded to the site....

Entered the details but couldn't log in using the credentials I have so I requested a new password..

I'm waiting for the server to send the password reset link....

It's been 2hrs now!


 0
answered on Feb 23, 2021 at 7:53am  

There are so many questions like this and it all turned out that developers used wrong login credentials. Could you make a search on this forum to get some hints or double check your app and login credentials


 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