Both fail identically. Subscribe JSON sent after connection:
{“RequestCode”: 23, “ExchangeSegment”: “NSE_FNO”, “SecurityId”: “40977”}
Behavior:
WebSocket TCP connection establishes successfully
Subscription JSON sent
Server resets connection after 3-5 seconds with ResetWithoutClosingHandshake (no data frames received)
This repeats on every reconnection attempt (40+ attempts observed)
Working comparison: 20-level depth (wss://depth-api-feed.dhan.co/twentydepth) connects and receives data for the same instruments without issues. Questions:
Is 200-level depth enabled for my account/data plan?
Is the 200-level depth server currently operational?
Are there specific instruments that support 200-level depth vs not?
I am experiencing the same issue reported on MadeForTrade on April 7 and April 9, 2026:
Thread 1: “200-level Full Market Depth WebSocket — ResetWithoutClosingHandshake on every connection”
Thread 2: “200-level Full Market Depth WebSocket Connection Failed”
ACCOUNT DETAILS Client ID: 1109211446 | Issue Since: April 2026 | Mode: Paper trading (API access active)
ISSUE SUMMARY The 200-level Full Market Depth WebSocket fails completely while 20-level depth and TBT Live Market Feed work perfectly on the same account and instruments.
Following up on ticket #5519522. We re-tested the 200-level depth feed on last friday on a live Google Meet screen-share with Dhan’s tech / API team, using Dhan’s own reference Python program with a freshly-generated access token and my client ID — and it still failed to fetch. Same symptom as before (ResetWithoutClosingHandshake within seconds of subscribing). The Dhan engineer on the call observed the failure live on my screen.
Given this was reproduced end-to-end with your own team watching, it no longer looks like a client-side issue. Can we check this openly with the wider community? If no one is currently receiving 200-level depth data, this is a server-side problem.
Could you raise it in the open channel with a suitable tag — something like #depth-200-status — and ask: “Is anyone on the depth-200 feed actually receiving data right now?”
As I can see, the team is already in touch with you to debug the issue. From our end, there are thousands of users who are seamlessly subscribed to 200 market depth and receiving data.
We will ensure this issue is resolved for you at the earliest.
Just one question here, do you have an active data subscription? Also, since it is a subscription failure, if you can check whether the Client ID/Access token is validated.
We have isolated the root cause of our 2-week depth-200 issue
(Ticket #5519522). The endpoint wss://full-depth-api.dhan.co/
rejects access tokens with tokenConsumerType=“APP” but accepts
tokens with tokenConsumerType=“SELF”.
Tested today (2026-04-28) using your official Python SDK
dhanhq==2.2.0rc1, same script, same SecurityId 74147,
only token source changed:
APP token (from POST /app/generateAccessToken, our TOTP flow):
subscribe accepted, then immediate reset, zero frames.
SELF token (from web.dhan.co > Generate Access Token button):
streamed 1187 depth-200 frames in 30 seconds. Works perfectly.
All 4 other paths (main feed, depth-20, order-update, REST)
work with BOTH token types on the same account at the same minute.
Only depth-200 discriminates.
Three quick questions:
Is APP-token rejection on depth-200 intentional?
Is there a programmatic SELF-mint API?
Does GET /v2/RenewToken preserve tokenConsumerType=SELF?
Happy to share the actual JWTs privately and run any diagnostic.
This is blocking our production rollout. Thanks!