Dear Upstox Support Team,
I’m developing an application using the Upstox API and have successfully obtained a valid access token that works with REST APIs (e.g., /user/profile). However, when I try to connect to the market-data WebSocket endpoint:
wss://api.upstox.com/v2/feed/market-data-websocket
…using this token via the Sec-WebSocket-Protocol
header, I consistently receive a 401 Unauthorized error.
Could you please check whether feed access (WebSocket subscription) is enabled for my app?