Austen | 2020-09-11 12:26:51 UTC | #1
We are encountering what appears to be an odd permissions error.
We create a division and then a queue associated with that division. We delete the division and create a new one. We attempt to associate the queue with the new division via the PostAuthorizationDivisionObjectWithHttpInfo method of the authorization API, and get the permissions error:
PureCloudPlatform.Client.V2.Client.ApiException: 'Error calling PostAuthorizationDivisionObject: {"message":"Unable to perform the requested action. You are missing the following permission(s): [routing:queue:edit:87d43845-8d75-4aba-b683-aae7d0be4525]","code":"missing.permissions","status":403}'
The ID in the permission name is the of the original (now deleted) division. Why do we need this permission to associate the queue with a different division? The OAuth client credentials account we are using to do this has master admin (all divisions) permission - why is that not sufficient to make the update?
(On a related note, attempting to update the queue in the UI shows no available divisions in the dropdown)
Thanks,
Austen
tim.smith | 2020-09-14 16:06:24 UTC | #2
Requiring permission for a deleted division doesn't sound correct. Please open a case with Genesys Cloud Care to investigate.
system | 2020-10-15 16:06:25 UTC | #3
This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.
This post was migrated from the old Developer Forum.
ref: 8807