Why am I getting 420 with streaming APIs


I am using tweepy streaming APIs with track parameter, and it has been working for months until this morning - I got http error 420. From your documentation, it seems I have been rate limited. So is streaming API being rate limited now?


The 420 means that you made too many connections in a short timespan with the same credentials. It clears up after a few minutes, but if you keep triggering it, the amount you will need to back off will keep increasing.

This rate limiting has always been active - you probably had a short period where you reconnected too many times this morning.


aha, it is because of the number of connections, not number of tweets we are retrieving. thanks.