Websocket unstable: {'code': -99, 'message': 'Please provide less than 200 symbols', 's': 'error'}

Market data web socket works fine for 1 hour or so then the connection closes.

If I try reconnecting, it doesn’t. I created a loop to keep trying but it fails throughout the day. I have been checking this for last 10 days with some modifications but the result is same.

The retrying mechanism doesn’t work. can you please fix it? I am on the latest v3 update. It doesn’t help.

your error is very clear

Dont keep “subscribing” symbols. If you maintain count, keep it below 200, when you reach it, then “unsubscribe” some symbols before adding new ones.

Hey @praveen3

This is due to subscription limit , please maintain the count of the total symbols subscribed

I have only 24 symbols subscribed. It must technically work. why would I see that error, am not sure.
Also, the webhook works for a few minutes then it throws error. If I recreate access token then it works. am I Missing anything? do the access token expire every hour?

Check if the subscription is in your code is placed inside a while loop, you might have missed something that starts the loop again upon exception and subscribed again. can’t comment more without looking at code.

@praveen3 The scenario explained by @immature_trader can be one of the reasons for this , you can check it and if the issue persists , please DM you’re code snippet .

resolved.