I am using the official Upstox API for personal development.
I’m not receiving any feeds from WebSocket.
However, even after successfully subscribing to active instrument keys (RELIANCE, INFY, TCS, Nifty 50, etc.), I do NOT receive any live tick data.
The WebSocket opens and my subscription is acknowledged, but NO market data is ever sent, even during live market hours.
If the WebSocket connection is opening successfully and your subscription request is acknowledged, but you are not receiving any market data, please check the following points:
Market hours
Ensure that you are connecting and subscribing during active market hours. Market data is streamed only when the market is live.
Subscription mode
Verify that you are subscribing with a valid mode such as ltpc, full, or full_d30, as supported by the Market Data Feed v3.
Instrument keys
Please confirm that you are using the correct and up-to-date instrument keys from the instruments JSON files: Instruments | Upstox Developer API
Access token validity
Make sure your access token is valid and has not expired. An expired token may allow the connection but prevent data from being streamed.
Event handlers
Ensure that you have properly registered the message event handler in your code to receive and process incoming market data messages.
For easier and recommended implementation, please refer to the official streamer utilities provided in our SDKs, which handle subscriptions and reconnections correctly: