Answer the question
In order to leave comments, you need to log in
The server written in telethon stopped working (error The key is not registered in the system) What could be the problem?
There is a server with telethon and in short everything worked, and then suddenly collapsed:
Traceback (most recent call last):
File "/root/serv/protocol_telegram.py", line 205, in __sendContactListSock
data['data'] = self.__getContacts()
File "/root/serv/protocol_telegram.py", line 292, in __getContacts
contacts = self.invoke(GetContactsRequest(0))
File "/root/serv/venv-python3/lib/python3.4/site-packages/telethon/telegram_bare_client.py", line 461, in __call__
sender, call_receive, update_state, *requests
File "/root/serv/venv-python3/lib/python3.4/site-packages/telethon/telegram_bare_client.py", line 517, in _invoke
raise next(x.rpc_error for x in requests if x.rpc_error)
telethon.errors.rpc_error_list.AuthKeyUnregisteredError: (AuthKeyUnregisteredError(...), 'The key is not registered in the system')
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question