Fyers API Node sdk websocket issues

Logs I get when requesting data from websocket:

connected
Fyers tick {"s":"ok","d":{"7202":[],"7208":[],"31038":[]}}
trying to reconnect 10

The ticks are always empty, reconnection trials happen 10 times then Error : Connection Error Please not able to connect to socket.

const reqBody = {
symbol:['NSE:ONGC-EQ','NSE:IOC-EQ'],

dataType:'symbolUpdate'

}

The app has all the permissions and authentication was successful. What might be the reason?

Thanks

2 Likes