Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: 420 FLOOD_WAIT #87

Closed
qiangweihewu opened this issue Dec 29, 2022 · 2 comments
Closed

Error: 420 FLOOD_WAIT #87

qiangweihewu opened this issue Dec 29, 2022 · 2 comments
Labels
question Further information is requested

Comments

@qiangweihewu
Copy link

Just updated the codes, and after restarted, it returned the error logs:
[ERROR] ==> Telegram says: [420 FLOOD_WAIT_X] - A wait of 2838 seconds is required (caused by "auth.ImportBotAuthorization")

Is it common for those who have updated it? Is there any way to fix it?
Thanks!

@EverythingSuckz
Copy link
Owner

EverythingSuckz commented Jan 2, 2023

@qiangweihewu Have you restarted the bot way too many times, like in a short period of time?
This error is caused when you try to login too many times in a short period if time. The only fix is to wait for 2838 seconds and make sure that you don't restart the bot too often (every minute or so). Also, are you on Docker?

@qiangweihewu
Copy link
Author

@qiangweihewu Have you restarted the bot way too many times, like in a short period of time?

This error is caused when you try to login too many times in a short period if time. The only fix is to wait for 2838 seconds and make sure that you don't restart the bot too often (every minute or so). Also, are you on Docker?

Thanks! Should be the case you mentioned, and it works now.

@EverythingSuckz EverythingSuckz added the question Further information is requested label Jan 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants