- Newest
- Most votes
- Most comments
Based on the information provided, it appears that while you've successfully initiated a chat contact and sent a message using the Amazon Connect APIs, the message is not appearing in the agent's Contact Control Panel (CCP). This issue could be related to a few factors:
-
Connection Acknowledgment: When using message streaming APIs instead of WebSockets, it's crucial to send a connection acknowledgment event. This step is equivalent to connecting to a WebSocket and is necessary for the flow to begin. Make sure you're calling the CreateParticipantConnection API after StartContactStreaming to mark the 'Customer' as connected. This ensures that messages are sent only after confirming that the customer is ready to receive them.
-
Contact Flow Invocation: If the contact flow is not being triggered, it could be because the flow hasn't started properly. The flow begins only after the connection acknowledgment event is sent. Double-check that you're following the correct sequence of API calls, including the connection acknowledgment step.
-
Queue Assignment: Ensure that the chat contact is being properly routed to a queue that the agent is assigned to. If the contact isn't in the correct queue, the agent won't receive the messages in their CCP.
-
CCP Configuration: Verify that the agent's CCP is properly configured and that there are no issues with the browser settings, especially if using Google Chrome. Sometimes, audio policy flags in Chrome can affect the CCP's functionality.
-
Websocket Connection: If you're using WebSockets, make sure the customer's chat interface maintains a stable WebSocket connection. If there's a disconnection, the chat interface needs to re-establish the WebSocket connection and make a chatSession.getTranscript request to retrieve any missing messages.
To troubleshoot further:
- Double-check your API call sequence and ensure you're sending the connection acknowledgment event.
- Verify that the contact is being routed to the correct queue and that the agent is properly assigned to that queue.
- Check the agent's CCP configuration and browser settings.
- If possible, review the Amazon Connect logs or contact AWS support for more detailed troubleshooting, providing your contact center instance ID/ARN, region, and a detailed description of the issue.
Sources
Troubleshoot issues with your Amazon Connect communications widget - Amazon Connect
Troubleshoot issues with message streaming in Amazon Connect - Amazon Connect
Agents not hearing the indicator for incoming chat - Amazon Connect
Relevant content
- asked 2 years ago
- AWS OFFICIALUpdated a year ago

The sequence should be:
StartContactStreaming required a contact ID, how to pass the Contact ID?
Also it will be really helpful if you share the details of acknowledgment step/process!