question

alan11589 avatar image
alan11589 asked ·

Invalid resource owner credentials using the API Explorer

I created a new app on dev to access messages and have the credentials provided, however when I try to authenticate in the API Explorer I get the following error:

{
  "error": "invalid_grant",
  "errors": [
    {
      "errorCode": "OAU-140",
      "message": "Invalid resource owner credentials"
    }
  ],
  "error_description": "Invalid resource owner credentials"
}
invalid resource ownerinvalid grant
1 |1000 characters needed characters left characters exceeded

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 ·

Not sure how you authenticate in the Api Explorer, but here is what you can try.

1. Login you dev portal at https://developers.ringcentral.com

2. Select the API Explorer menu

3. Choose one of the API to test. E.g. choose Voice -> Call Log -> Get User Call Log Records

4. Click Try It out and at the prompt, select the app you created from the list. Make sure that that app has the Read Call Log permission

Share
1 |1000 characters needed characters left characters exceeded

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

alan11589 avatar image
alan11589 answered ·

That seems to work, however I cannot use the main company number in the dev portal with the password I use to login with to make a request???? +14242140871


I am trying to retrieve message attachments via a c# program and it seems the number provided to authenticate does not work.

1 comment Share
1 |1000 characters needed characters left characters exceeded

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

The dev portal login credentials is different from your sandbox account login credentials. And when you use the API Explorer from the dev portal, it only operates on behalf of the 101 extension.

0 Likes 0 · ·

Write an Answer

Hint: Notify or tag a user in this post by typing @username.

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