Skip to content
This repository has been archived by the owner on Oct 23, 2019. It is now read-only.

Telethon Error : Flood Wait Error #122

Open
cyber-urvesh opened this issue Aug 21, 2019 · 1 comment
Open

Telethon Error : Flood Wait Error #122

cyber-urvesh opened this issue Aug 21, 2019 · 1 comment

Comments

@cyber-urvesh
Copy link

When I Execute the tool :
python3 telegram_export

It first logged in and when I executed the command again, it throws the following error:

Traceback (most recent call last):
File "/usr/lib/python3.7/runpy.py", line 193, in _run_module_as_main
"main", mod_spec)
File "/usr/lib/python3.7/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "telegram_export/main.py", line 316, in
ret = loop.run_until_complete(main(loop)) or 0
File "/usr/lib/python3.7/asyncio/base_events.py", line 579, in run_until_complete
return future.result()
File "telegram_export/main.py", line 289, in main
).start(config['TelegramAPI']['PhoneNumber']))
File "/usr/local/lib/python3.7/dist-packages/telethon/client/auth.py", line 148, in _start
sent_code = await self.send_code_request(phone, force_sms=force_sms)
File "/usr/local/lib/python3.7/dist-packages/telethon/client/auth.py", line 374, in send_code_request
phone, self.api_id, self.api_hash))
File "/usr/local/lib/python3.7/dist-packages/telethon/client/users.py", line 60, in call
result = await future
telethon.errors.rpcerrorlist.FloodWaitError: A wait of 77264 seconds is required (caused by SendCodeRequest)

Please let me know a solution. Thank you.

Capture

@shinji257
Copy link

I'm hitting into this same issue when using my own API code. Didn't even get to login.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants