Telethon
Telethon copied to clipboard
A wait of xxx seconds is required (caused by ExportAuthorizationRequest)
When I call the download_profile_photo() method to download an avatar image, there will always be an error message (A wait of xxx seconds is required (caused by ExportAuthorizationRequest)) displayed. Is there any restriction or rule to follow? Thank you.
telethon.errors.rpcerrorlist.FloodWaitError: A wait of 849 seconds is required (caused by ExportAuthorizationRequest)
This should only happen if you're creating a client and downloading files from other datacenters very often. What is your code and use-case?
I'm going to close this under the assumption that it's not really actionable on our part for the time being, but do report back if you have more information.
Hello. I try get message from 2 channels and insert to my bot. And I have ban. telethon.errors.rpcerrorlist.FloodWaitError: A wait of 48038 seconds is required (caused by ResolveUsernameRequest) Howe resolve this problem?
Same problem happened here, getting A wait of xxx seconds is required (caused by ExportAuthorizationRequest) when trying to download photos with different dc_ids. Is there any way to change the connection 's data center manually? I tried client.session.set_dc() method but it did 't work.
This error should only occur if you're creating a client, connecting, downloading media from other datacenter, and trashing it. Is this the case? How long is the wait? A day? A few hours?
For the first few there is no wait but after some 40-50 downloads I have to wait for a few minutes. After downloading each media the script sleeps for 2 seconds and then starts downloading the next media but waiting that much is not enough and waiting more than that would be too much time consuming.
For the first few there is no wait but after some 40-50 downloads I have to wait for a few minutes. After downloading each media the script sleeps for 2 seconds and then starts downloading the next media but waiting that much is not enough and waiting more than that would be too much time consuming.
I have a similar problem after some downloads, the telethon threw FloodWaitError and to wait like an hour.
I have the same issue with downloading media. I'm using the FastTelethon script if that matters.