DATA API subscription not working

i had subscribed to dhan data API but it shows error as mentioned below “WebSocket connection error: server rejected WebSocket connection: HTTP 400” client id - 1105724705

Hi @Sagar_Savaliya,

It seems you are connecting via the older WebSocket V1. Please switch to WebSocket V2 and refer to the documentation here: Live Market Feed - DhanHQ Ver 2.0 / API Document

For any assistance, feel free to write to us at apihelp@dhan.co