Unable to make websocket work.

I have copied the exact same code as given in v3 docs, but getting stopped at the following message.

Post link to code. i just checked now and it is working.

Maybe the symbol you are testing has market closed and therefore no ticks.

only thing is their github code is not updated with a recent issue that was affecting some fields but you should still get JSON response.

fyers.subscribe(symbols=symbols, data_type=data_type, channel=15)

access token i have entered correctlt only. now blanked out.

Hi @chirag
Yup this is one issue but it is because of another dependency. We will update these things in code and docs.

hi @abhishek.m4daofcr

Tell me when you are running that and also still you are facing this issue ?

your subscribe() is not the same as my post, change that and check. try some other symbols too

Thanks for the quick response. Actually, my bad, I was using auth code in place of access token. That was the issue. now solved. Many thanks. Another issue i’m facing is disconnections are happening many times . Any solution for that?

Hi @abhishek.m4daofcr
this issue can be your network side. Usually it don’t happen we are well tested.
However you put the reconnect parameter as true.
Thanks