RPC Error 406 #441
-
|
Hi! I've just set up and am live with my own instance of 4cat. I've also just enabled a new Telegram API. As I go to enter the API ID and Hash into 4cat, I get the following error: "An unexpected error (RPCError 406: UPDATE_APP_TO_LOGIN (caused by SendCodeRequest)) occurred and your authentication could not be verified." I'm not sure what is happening there, and the only posts I've seen here on the Github are from Dec 2021. Following the advice given then, I updated Telethon, but the error persists. Would so appreciate any help! |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 3 replies
-
|
This was actually given a clearer error message in a recent update, though it is not yet in the latest 4CAT release: 346150b The solution that we have seen work for this is to make sure all your Telegram apps (desktop and phone) are updated to the latest version. |
Beta Was this translation helpful? Give feedback.
-
|
Hi, just want to bump again that I think this is a 4cat issue. My Telegram API creds/hash work just fine when I use my own scraper coded in Python (using Telethon). Not sure what might be causing this, but I'm only having this problem with 4cat. Thanks! |
Beta Was this translation helpful? Give feedback.
Hello. This is due to an issue with Telethon (the Telegram package 4CAT utilizes) and will be addressed in a later release of 4CAT. If you are using Docker, you can update you
.envfile and setDOCKER_TAG=latest, then follow the upgrade instructions to use our development version which has incorporated a newer version of Telethon. I believe this will fix your problem, but if not please let us know.