'Getting Unable to determine service/operation name to be authorized - AccessDeniedException Error on CreateParticipantConnection
I am trying to test the Amazon Connect Chat API in POSTMAN,
- The first part
StartChatContacttested/executed and i have got theParticipantTokenback in response withContactId & ParticipantIdby usingPUT: https://connect.us-east-1.amazonaws.com/contact/chat - But i am unable to run the
POST: https://connect.us-east-1.amazonaws.com/participant/connection. here is the Request Syntax AWS has given:
POST /participant/connection HTTP/1.1
X-Amz-Bearer: ParticipantToken
Content-type: application/json
{
"ConnectParticipant": boolean,
"Type": [ "string" ]
}
i have tried the ParticipantToken as header parameter with name mentioned in documentation (X-Amz-Bearer: ParticipantToken) as well as used in Authorization as Type API Key & AWS Signature.
But can't get rid of this error. In response Headers i got x-amzn-ErrorType: AccessDeniedException and in body
{
"message": "Unable to determine service/operation name to be authorized"
}
How to remove this error? any solution please.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
