What PHONE_NUMBER_FLOOD means
In the error table for the auth.sendCode method, this code is described as too many login codes requested for this number, with response code 400. Unlike FLOOD_WAIT_X, the error does not state a wait time.
How it differs from PHONE_PASSWORD_FLOOD
These are neighboring errors with different meanings. PHONE_NUMBER_FLOOD is about code requests: there were too many. PHONE_PASSWORD_FLOOD comes after a request, when too many login attempts were made, most often with wrong details. The second one has its own page.
Why it happens
- The code was requested again and again because it did not arrive or did not work.
- Logins on one number were started from several programs at once.
- A script or another service repeated the code request with no pause.
What to do
- Stop requesting codes for this number and wait.
- Check the Telegram chat on devices that are already logged in: the code may have gone there instead of SMS.
- When the pause is over, request the code once and enter the newest one right away.