Unable to connect with the Websocket

I am using

this documentation for creating a WebSocket connection with LiveChat. All it asks for is the license id and I am sure that I have given the right one.

PsBot.js:880 WebSocket connection to
‘wss://api.livechatinc.com/customer/v3.0/rtm/ws?license_id=*******’ failed: Error during WebSocket handshake: Unexpected response code: 404

This is what I am getting as a response.

Is there anything else I should do to enable the WebSocket connection

Hi @developerpurple,

I talked with our tech department, and they said you have already chatted with them.

After checking your case, they said you got the address in the example wrong. You need to change it to :


It should work then.