Getting error "WebSocket connection error: server rejected WebSocket connection: HTTP 400"

Getting error “WebSocket connection error: server rejected WebSocket connection: HTTP 400”

Hi @varadesandesh ,

Welcome to madefortrade ,

It appears that you are attempting to connect using the older version (V1) of WebSockets. Please update the URLs by referring to the documentation here: Live Market Feed - DhanHQ Ver 2.0 / API Document.

We are currently operating on V2.