UploadGram
UploadGram copied to clipboard
-
Hi! I suppose this error occurs because of the latest changes to Telegrams API for third-party apps.
pyrogram.errors.exceptions.unauthorized_401.AuthKeyUnregistered: Telegram says: [401 AUTH_KEY_UNREGISTERED] - The key is not registered in the system. Delete your session file and login again (caused by "updates.GetState")
I removed the old config.env and reconfigured the bot, but the error Message still appears.
How can i fix this?
Thanks in advance!
it is not related
work-around for now is rm "~/.config/uploadgram/*.session" before running uploadgram command
Hello, can this help in any way?:
https://stackoverflow.com/questions/68410128/telegram-getting-auth-key-unregistered-and-api-id-invalid-errors
The cause of this issue, as far as I understand is the old pyrogram version. Once pyrogram version is updated in the dependency, it should work properly.