Telethon: FloodWaitError on GetParticipants out of nowhere
from telethon import TelegramClient
all_participants = client.get_participants(target_group, aggressive=True) Basically this line causes the whole problem. I was running this code as usual , its a simple members scrap code from groups, and out of nowhere starter recieving this problem I tried changing User, API id and API hash , turning on VPN, reinstalling PIP and Telethon and Python, Nothing seems to work.
Traceback (most recent call last): File “c:\Users\tmaxi\Desktop\Adding\NewAdder\scraptpt.py”, line 54, in <module> all_participants = client.get_participants(target_group, aggressive=True) File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\sync.py”, line 39, in syncified return loop.run_until_complete(coro) File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\asyncio\base_events.py”, line 642, in run_until_complete return future.result() File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\client\chats.py”, line 507, in get_participants return await self.iter_participants(*args, **kwargs).collect() File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\requestiter.py”, line 113, in collect async for message in self: File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\requestiter.py”, line 74, in anext if await self._load_next_chunk(): File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\client\chats.py”, line 222, in _load_next_chunk results = await self.client(self.requests) File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\client\users.py”, line 30, in call return await self._call(self._sender, request, ordered=ordered) File “C:\Users\tmaxi\AppData\Local\Programs\Python\Python39\lib\site-packages\telethon\client\users.py”, line 80, in _call raise MultiError(exceptions, results, requests) telethon.errors.common.MultiError: ([FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), None, None, FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), None, FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’), FloodWaitError(‘A wait of 28 seconds is required (caused by GetParticipantsRequest)’)], [None, None, <telethon.tl.types.channels.ChannelParticipants object at 0x0000029944F63400>, <telethon.tl.types.channels.ChannelParticipants object at 0x0000029944F457C0>, None, None, <telethon.tl.types.channels.ChannelParticipants object at 0x0000029944F56430>, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None, None], [<telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089310>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089B50>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089C10>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089CD0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089D90>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089E50>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089F10>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944089FD0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x00000299440920D0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092190>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092250>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092310>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x00000299440923D0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092490>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092550>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092610>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x00000299440926D0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092790>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092850>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092910>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x00000299440929D0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092A90>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092B50>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092C10>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092CD0>, <telethon.tl.functions.channels.GetParticipantsRequest object at 0x0000029944092D90>])
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 44 (4 by maintainers)
is there any news?
if you dont use Aggressive=True you get another error, ChannelParticipants object is not subscriptible
Please update us when you solve it, aswell you could ask those people for a solution
Everyone is having the same problem, it will be fixed as soon as possible.
I spoke with @striller17 he is asking $100, I hope someone else can solve it
I’m having the same problem please let me know if you get a solution