Unexpected websocket close

Hi I have an active integration with PureCloud Guest Chat API. Sometimes the websocket is closed unexpectedly then this ends my comunication with the agent.
So, how I can get the reason of the close event?
Currently, I can catch the close data and this one only return a number.

I searched the documentation (https://developer.mypurecloud.com/api/webchat/guestchat.html) and I couldn’t find a reference to these numbers (I think are error codes)

I need to know what is the reason for the close event (purecloud error, network error, etc) because now I only have a 'close' event without any additional info

Please tell me how I can get the real close reason to handle it with more precision

It sounds like you're referring to the CloseEvent.close code produced by your browser. See that page for documentation on what the codes mean. If you believe there is an issue with Genesys Cloud WebSockets, please open a case with Genesys Cloud Care for further investigation.

Thanks for the reply!

Yes I believe there is an issue with socket Im gonna open a case with Genesys Cloud Care thanks

Hi Brian.. I have the same problem..

do you received an answer from Genesys Care.?

This topic was automatically closed 31 days after the last reply. New replies are no longer allowed.