Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR:Uncaught exception occured. RPCError 406: UPDATE_APP_TO_LOGIN (caused by SendCodeRequest) #40

Open
Anton-V-K opened this issue Dec 8, 2021 · 2 comments · May be fixed by #42
Open

Comments

@Anton-V-K
Copy link

When running against any public channel the script (installed with pip install telegram-messages-dump) can't dump anything:

Try to load exporter 'text.py'...  OK!
INFO:Initializing session...
Connecting to Telegram servers...
INFO:Connecting to 149.154.167.51:443/TcpFull...
INFO:Connection to 149.154.167.51:443/TcpFull complete!
Initial connection failed.
First run. Sending code request...
ERROR:Uncaught exception occured. RPCError 406: UPDATE_APP_TO_LOGIN (caused by SendCodeRequest)
0 messages were successfully written in the resulting file. Done!
@Anton-V-K
Copy link
Author

Anton-V-K commented Dec 8, 2021

To solve this issue you must install an updated library for authorization (as suggested in LonamiWebs/Telethon#3220):
pip install tulir-telethon
The installer of this script should be updated

@pcace
Copy link

pcace commented Nov 20, 2022

see pr here: #42

@pcace pcace linked a pull request Nov 21, 2022 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants