-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
When i run my app with StringSession and tryin to sign_in it raise phone code expired #4509
Comments
python version - Python 3.12.7 |
and artix linux unstead of artic |
As far as I know, if you get an authorization code and enter it into your bot by text, Telegram immediately revokes it for security reasons. |
Its only when you send code from that account which you logging in, with standart .sessions file works fine |
Code that causes the issue
this how i tryin to sign in
this is how i create da client
Expected behavior
I was expecting that it will sign in correctly
Actual behavior
Instead of this it raised a PhoneCodeExpired error
Traceback
The text was updated successfully, but these errors were encountered: