Question

Permission Issue

  • 5 February 2021
  • 3 replies
  • 881 views

So I created 2 little applications to 1) read data from the logfiles and 2) to get a list of users.

The first one is working fine using the API

The second one returns

{
  "errorCode" : "InsufficientPermissions",
  "message" : "In order to call this API endpoint, application needs to have [ReadAccounts] permission",
  "errors" : [ {
    "errorCode" : "CMN-401",
    "message" : "In order to call this API endpoint, application needs to have [ReadAccounts] permission",
    "permissionName" : "ReadAccounts"
  } ],
  "permissionName" : "ReadAccounts"
}

I have tried all the possible permissions, including Read Accounts, with no luck. I even gave the app every permission available. Still the same.

Any ideas?



3 replies

Userlevel 1

What API call returned that error?

https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/directory/entries

and even if I gave the app every permission, I was getting the same response.

Ok there is clearly something up. Created app #3 with the same authorization and that works.

I think if you update the authorization after you create the app, that is not working at RingCentral

Reply