In order to call this API endpoint, user needs to have [ReadPersonalContacts] permission for requested resource.

  • 1
  • Problem
  • Updated 5 months ago
I'm getting this error while trying to retrieve contacts of each extension's

Exception:
In order to call this API endpoint, user needs to have [ReadPersonalContacts] permission for requested resource.
SDK HTTP Error at https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/244711004/address-book/contact
Response text: {
  "errorCode" : "CMN-408",
  "message" : "In order to call this API endpoint, user needs to have [ReadPersonalContacts] permission for requested resource.",
  "errors" : [ {
    "errorCode" : "CMN-408",
    "message" : "In order to call this API endpoint, user needs to have [ReadPersonalContacts] permission for requested resource.",
    "permissionName" : "ReadPersonalContacts"
  } ],
  "permissionName" : "ReadPersonalContacts"
}
Previous: Response has unsuccessful status
-------------------------------------------------

I don't see any permission called "ReadPersonalContacts". I have added permissions "Contacts" and "Read Contacts". I don't see any permission called "ReadPersonalContacts"










Photo of Nibu Eapen

Nibu Eapen

  • 310 Points 250 badge 2x thumb

Posted 5 months ago

  • 1
Photo of Phong Vu

Phong Vu, Devangelist

  • 3,212 Points 3k badge 2x thumb
Hi Nibu,

The error message is misleading. The reason you got that error, actually was that you logged in with one extension and try to read personal contacts of another extension (user). That is not allowed even the extension you login has the admin role. 

So try this instead:

https://platform.devtest.ringcentral.com/restapi/v1.0/account/~/extension/~/address-book/contact

+ Phong