Hi all,
I am trying to use the Get Bulk Permissions endpoint /rest/api/3/permissions/check to do a sweep on permissions (doing an internal audit of the environment) and I am getting this error:
{“errorMessages”:,“errors”:{“permissions”:“The list of permissions should contain at least one permission key”}}
Yet my payloads are variations of: {“accountId”: “6140a341eaef340069SANITISED”, “projectPermissions”: [{“permissions”: [“ADD_COMMENTS”]}, {“projects”: [10035]}]}
I have added more elements to the array (from one to literally all of the project permissions) added empty arrays for the missing parameters, added the global permissions, and various other combinations. Otherwise I am admin of that sandbox and able to use other endpoints just fine.
Any thoughts on what could be triggering the error? Fresh pair of eyes much welcomed
Many thanks!