While interaction with Genesys Live chat functionality using GuestChat API. We are seeing following error on live agent's panel.
code is Initializing chat, getting eventstream URI and token successfully from API call. After websocket Initialization this error shows up on screen for agent. Once Agent click Answer button posting messages are working fine.
Below code is used for Initiating web socket.
private initiateWebSocket(){
this.webSocketSubject = Observable.webSocket(this.eventStreamUri);
this.webSocketSubject
.retry()
.subscribe(
(msg) => {
var agentMsg = msg;
Below is screen shot of error that Agent is seeing
I will appreciate any help on what this error means, and how to fix it.
Thanks
-Sejal
Do you have a Script (Admin - Contact Center - Scripts) which is supposed to be displayed with this chat conversation (on Contact Center agent side)?
If yes, does this script invoke a Data Action on Page Load (or few seconds after/delay)?
I mean a custom Genesys Cloud Data Action - named "Get multiple attributes by conversation id".
If that's the case, the error is displayed in the alert because your Data Action is returning an error (Data Action API Request failing - result other than 200 OK).