Skip to main content

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




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


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!


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


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.


Reply