question

Helgi Sigurdsson avatar image
Helgi Sigurdsson asked ·

Permission Issue

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?

permissions not working
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 ·

What API call returned that error?

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.

Helgi Sigurdsson avatar image
Helgi Sigurdsson answered ·

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.

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.

Helgi Sigurdsson avatar image
Helgi Sigurdsson answered ·

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

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.

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.