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

send_message = Peer Flood Error #398

Closed
ghost opened this issue Nov 1, 2017 · 10 comments
Closed

send_message = Peer Flood Error #398

ghost opened this issue Nov 1, 2017 · 10 comments

Comments

@ghost
Copy link

ghost commented Nov 1, 2017

result = client.invoke(SendMessageRequest(client.get_input_entity(326296648),'hi there'))

telethon.errors.rpc_error_list.PeerFloodError: (PeerFloodError(...), 'Too many requests')

getting this error for no apparent reason
believe, i use requests very sparingly - once 3-5 minutes so flooderror is not the problem
i have tried every possible combination with invoking the API thingy and other

trashiest bit is that it works with SOME users, which additionaly indicates that there is no problem with flooding

please help!

@Lonami
Copy link
Member

Lonami commented Nov 1, 2017

You should have used search. There are also other closed issues with this error (look for PEER_FLOOD).

@Lonami Lonami closed this as completed Nov 1, 2017
@ghost
Copy link
Author

ghost commented Nov 1, 2017

i am sorry but this is not the case:

it works with SOME users!
and there is no ban!! i checked!

i have explitited this in the issue :(

@Lonami
Copy link
Member

Lonami commented Nov 1, 2017

I actually don't really know when PeerFloodError is raised then. But either way move the discussion to #397 since that's an already open issue.

@ghost
Copy link
Author

ghost commented Nov 1, 2017

ok thanks
your work is very good!

@Lonami
Copy link
Member

Lonami commented Nov 1, 2017

@spam1712 thanks!

@Vaghasiyayash
Copy link

I also got this error. I have grp of 20k members in telegram. But when i run bot, msg send to only 15-20 people and after that it's showing peer flood error. You get any solutions?

@StarNeit
Copy link

StarNeit commented Dec 4, 2018

Hello @Vaghasiyayash
Did you solve your PEER_FLOOD issue?
If yes, would you please let me know how to avoid that?

@azoulaynoam
Copy link

The real question is what are the differences between FloodWaitError and PeerFloodError.
In that matter, I am having issues while inviting users to a group...
@Lonami I dont know if you still here but maybe you got an answer.

@SmartDev-0205
Copy link

I get this error too
I have 15 users and after send only 400 requests get this error.
Please let me know how to avoid this error
Please help me

@Lonami
Copy link
Member

Lonami commented Feb 10, 2022

Peer flood occurs when the account is likely to be spamming. Telethon cannot fix it.

@LonamiWebs LonamiWebs locked as resolved and limited conversation to collaborators Feb 10, 2022
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

6 participants
@azoulaynoam @Lonami @StarNeit @Vaghasiyayash @SmartDev-0205 and others