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

Getting SessionPasswordNeededError #109

Open
RobertAzovski opened this issue Mar 5, 2024 · 0 comments
Open

Getting SessionPasswordNeededError #109

RobertAzovski opened this issue Mar 5, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@RobertAzovski
Copy link

Whenever I try to use current session I still get SessionPasswordNeededError:
SessionPasswordNeededError('Two-steps verification is enabled and a password is required (caused by GetAuthorizationsRequest)')

I tried both method of obtaining TelegramClient, in both CurrentSession flag was used.

 # client = await TelegramClient.FromTDesktop(tdesk, session=None, flag=UseCurrentSession, proxy=proxy)
    client = await tdesk.ToTelethon(session=None, flag=UseCurrentSession, proxy=proxy)
@RobertAzovski RobertAzovski added the bug Something isn't working label Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant