Discussions

Ask a Question
Back to All

Websocket connection error - is websocket_url valid?

I have an application in which I want to receive notifications about call state via web socket connection.

I have created a Websocket via Dialpad API and a subscription with the list of call states using Websocket Id as endpoint_id.

Until recently the websocket_url contained {event_type} and {event_id} which I replaced with "call" and subscription Id and it worked (I was able to connect to web socket and received notifications).

Now the websocket_url looks like this (I believe the last section contains some encoded information):

wss://platform-websockets-6kqb5ajsla-uc.a.run.app/events/eyJhbGciO...nXGt27DGWLFw

When trying to connect to this socket url I get "500 Internal Server Error"

How can I make this working?