I use the pyrogram python library often. I encounter the following error very frequently, and haven't found a way to solve it. It comes seemingly randomly, which is odd considering that I am not being rate limited by the Telegram servers. The following message is the error that I encounter randomly:
pyrogram.errors.rpc_error.UnknownError: [520 Unknown error]: [-503 Timeout] (caused by "upload.GetFile")
Has anyone ever faced this error themselves, and how have you managed to fix it? What are its causes, if not rate-limiting?