Same old story - many API calls require a user to initiate like acting on an interaction they are handling. Others require that they be done in a system context like changing settings or manipulating interactions in queue. In this case, you will either need to send in credentials of the user with the interaction or find another way to do this at a system. level. Remember that when you use the API Explorer - that is user context while most data actions are system context. Easy way to know which API is which.
------------------------------
Robert Wakefield-Carl
Avtex Solutions, LLC
Contact Center Innovation Architect
robertwc@avtex.comhttps://www.Avtex.comhttps://RobertWC.Blogspot.com------------------------------
Original Message:
Sent: 11-16-2021 07:56
From: Raghavapvds Raghavapvds
Subject: PureCloud API Integration error
We are unable to execute the PureCloud API with in the Genesys integrations and it is getting error.
API :
/api/v2/voicemail/groups/{groupId}/mailbox
Error running action test:
Execute: The request could not be understood by the server due to malformed syntax.
REST call for action execute failed. Message:Request to backend service failed. Response from web service: {"message":"This request requires a user context. Client credentials cannot be used for requests to this resource.","code":"bad.request","status":400,"contextId":"9e2b975f-59fb-41be-a770-86836149c80a","details":[],"errors":[]} [64716c9d-5ce5-4c5a-966c-327a95ef206b]
Can you someone help on this issue.
#Integrations
------------------------------
Raghavapvds
------------------------------