News & Announcements User Community Developer Community

Welcome to the RingCentral Community

Please note the community is currently under maintenance and is read-only.

Search
Make sure to review our Terms of Use and Community Guidelines.
  Please note the community is currently under maintenance and is read-only.
Home » Developers
Permission Issue
Tags: rest api
Feb 4, 2021 at 7:49pm   •   3 replies  •  0 likes
Helgi Sigurdsson

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 Answers
answered on Feb 5, 2021 at 11:14am  

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


 0
answered on Feb 4, 2021 at 8:13pm  

What API call returned that error?


 0
answered on Feb 5, 2021 at 8:37am  

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.


 0



A new Community is coming to RingCentral!

Posts are currently read-only as we transition into our new platform.

We thank you for your patience
during this downtime.

Try Workflow Builder

Did you know you can easily automate tasks like responding to SMS, team messages, and more? Plus it's included with RingCentral Video and RingEX plans!

Try RingCentral Workflow Builder

PRODUCTS
RingEX
Message
Video
Phone
OPEN ECOSYSTEM
Developer Platform
APIs
Integrated Apps
App Gallery
Developer support
Games and rewards

RESOURCES
Resource center
Blog
Product Releases
Accessibility
QUICK LINKS
App Download
RingCentral App login
Admin Portal Login
Contact Sales
© 1999-2024 RingCentral, Inc. All rights reserved. Legal Privacy Notice Site Map Contact Us