telethon: RPCError 406: UPDATE_APP_TO_LOGIN
See original GitHub issueChecklist
- The error is in the library’s code, and not in my own.
- I have searched for this issue before posting it and there isn’t a duplicate.
- I ran
pip install -U https://github.com/LonamiWebs/Telethon/archive/master.zipand triggered the bug in the latest version.
Code that causes the issue
from telethon.sync import TelegramClient
...
client = TelegramClient(phone, api_id, api_hash)
client.connect()
if not client.is_user_authorized():
client.send_code_request(phone)
Traceback
Traceback (most recent call last):
File "code.py", line 1, in <code>
in _call
result = await future
telethon.errors.rpcbaseerrors.AuthKeyError: RPCError 406: UPDATE_APP_TO_LOGIN (caused by SendCodeRequest)
I login to my telegram account with this code until yesterday but today I get this error please help me
Issue Analytics
- State:
- Created 2 years ago
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Python and telethon: login error UPDATE_APP_TO_LOGIN
since today, I'm getting this error when trying to login into my telegram account with telethon:
Read more >RPCError 406 UPDATE_APP_TO_LOGIN Telegram Update ...
For more updates join https://t.me/+SAPSALdWMlDCeUrEDISCLAIMER: This CHANNEL does not promote or encourage any illegal activities, ...
Read more >RPC Errors — Telethon 1.7.7 documentation
RPC stands for Remote Procedure Call, and when the library raises a RPCError , it's because you have invoked some of the API...
Read more >Telegram TDLib error: UPDATE_APP_TO_LOGIN - eSeGeCe
If you get the error code 406 UPDATE_APP_TO_LOGIN, means that the TDLib version is outdated and must be updated to latest 1.7.9 version, ......
Read more >406: update_app_to_login telegram | TUT.GURU - комьюнити ...
telethon.errors.rpcbaseerrors.authkeyerror: rpcerror 406 update_app_to_login caused by signinrequest. При вводе данных с моего основного ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Обновилась авторизация, чтобы починить установите это pip3.9 install tulir-telethon
Please see the linked issue. It should be fixed in newer versions.