How do we verify that marketdata.read is granted to a token

I am trying to use the Upstox WebSocket v3 (wss://api.upstox.com/v3/feed/market-data) in my Laravel backend, but the connection fails with a 400 Bad Request error or an empty feed.

I suspect the issue is with missing marketdata.read scope, even though I explicitly pass the scopes during OAuth authorization.

:warning: Issue:

  • I am not receiving any confirmation that marketdata.read is actually granted.
  • Even after generating a new token with scopes, WebSocket v3 rejects the connection, or the LTP feed never arrives.
  • There is no way to check allowed scopes in the developer dashboard.
  • Calling /v3/profile works (proves profile.read is enabled), but WebSocket v3 fails unless marketdata.read is granted.

@HritikRD Please refer as mentioned here