Issue: MarketDataStreamerV3 returns empty ltpc data and disconnects with 403
I’m integrating Upstox MarketDataStreamerV3 (Node.js SDK) and consistently receiving empty ltpc objects even when the market is open and instruments are actively trading.
Environment
- SDK: upstox-js-sdk
- Mode:
ltpc - Market: NSE_EQ
- Instruments: RELIANCE, TCS, INFY
- Market status:
NORMAL_OPEN
Observed Behavior
- WebSocket connects successfully
market_infoevents are received correctlyfeedspayload contains emptyltpcobjects:
{
"feeds": {
"NSE_EQ|RELIANCE": { "ltpc": {} },
"NSE_EQ|TCS": { "ltpc": {} },
"NSE_EQ|INFY": { "ltpc": {} }
}
}
* After some time, the socket disconnects with:
Error: Unexpected server response: 403
What Works
- REST LTP snapshot (
/market-quote/ltp) - Historical candle data (V3)
- Access token is valid and not expired
Questions
- Is
ltpcstrictly delta-only (emits only after a trade occurs)? - Is a REST snapshot mandatory before subscribing to
ltpc? - What causes the 403 disconnect after a successful connection?
- Is
fullmode recommended overltpcfor live price display?
Any clarification or best-practice guidance would be appreciated.
Thanks.