Question

Error calling message-store-report API "message : User has no required permission: Users"

  • 20 June 2023
  • 1 reply
  • 232 views

  • New Participant
  • 3 replies

I am using the API to download messaging data but it is telling me that the user needs "Users" permission. The call works fine with my sandbox account as I am set up as an admin and I have confirmed that the user permission is required by temporarily changing the sandbox user to a role that does not have user permissions and getting the same error. I am just curious why it is a required permission for message-store and it is not listed in the documentation. I am able to get call-log and pstn-call-log info without needing that permission so why is it needed for messages? This is the response I get back if I make a call to message-store-report with a user that does not have "Users" permission:

"errors" : [ {

"errorCode" : "PIC-102",

"message" : "User has no required permission: Users",

"permissionName" : "Users"

} ]


1 reply

Userlevel 1

Is the user who get authenticated your app a super admin user? If not, change the user and choose one of the super admin users or create a custom role with the "Users" role under the "User management" section.

The API does mention the FeatureFlag as "EditUsers".

Reply