With the code below I have been connected to the telegram using telethon for about one year!
client = TelegramClient(
SESSION,
API_ID,
API_HASH
)
client.connect()
# the rest of my code
Yesterday when I want to connect to my session with the code I got this error:
telethon.errors.rpcerrorlist.AuthKeyDuplicatedError: An auth key with the same ID was already generated
The error does not tell anymore and in the doc there is no more description about this error message. How can I retrieve my session?