Skip to main content
Question

Permission Issue

  • February 5, 2021
  • 3 replies
  • 902 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

PhongVu
Community Manager
Forum|alt.badge.img
  • Community Manager
  • 2329 replies
  • February 5, 2021

What API call returned that error?


  • Author
  • New Participant
  • 3 replies
  • February 5, 2021

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.


  • Author
  • New Participant
  • 3 replies
  • February 5, 2021

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


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings