question

Andrew Korneychuk avatar image
Andrew Korneychuk asked Suyash Joshi answered

Invalid resource owner credentials using the API Explorer

Hi
My app is in production now.

After calling login function I got this error message

"error" : "invalid_grant",

"errors" : [ {

"errorCode" : "OAU-140",

"message" : "Invalid resource owner cre (truncated...)

I use live credentials as following:

RINGCENTRAL_ID=xxxxxxxxxxyBSTB7w

RINGCENTRAL_SECRET=xxxxxxxxxxxxxxxxxxxx

RINGCENTRAL_URL=https://platform.ringcentral.com

RINGCENTRAL_USERNAME="xxxxxxxxx4735"

RINGCENTRAL_PASSWORD="xxxxxxxxxxxx"

RINGCENTRAL_EXTENSION="101"

maybe i have a wrong MVP premium account linked to my app?

can you please confirm the credentials


fax
1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Phong Vu avatar image
Phong Vu answered
1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Suyash Joshi avatar image
Suyash Joshi answered

Hi Andrew you need to use your sandbox credentials in order to test using API Explorer. Also make sure the given application has permission for that API call.

1 |1500

Up to 8 attachments (including images) can be used with a maximum of 1.0 MiB each and 10.0 MiB total.

Developer sandbox tools

Using the RingCentral Phone for Desktop, you can dial or receive test calls, send and receive test SMS or Fax messages in your sandbox environment.

Download RingCentral Phone for Desktop:

Tip: switch to the "sandbox mode" before logging in the app:

  • On MacOS: press "fn + command + f2" keys
  • On Windows: press "Ctrl + F2" keys