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 using archive.py #6

Closed
andre-santos1 opened this issue Mar 2, 2022 · 1 comment
Closed

Error using archive.py #6

andre-santos1 opened this issue Mar 2, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@andre-santos1
Copy link

I ran archive.py and got the following error:

Traceback (most recent call last):
File "/home/kali/Telepathy/archiver.py", line 31, in
client.sign_in(phone, input('Enter the code: '))
File "/usr/local/lib/python3.9/dist-packages/telethon/sync.py", line 39, in syncified
return loop.run_until_complete(coro)
File "/usr/lib/python3.9/asyncio/base_events.py", line 642, in run_until_complete
return future.result()
File "/usr/local/lib/python3.9/dist-packages/telethon/client/auth.py", line 368, in sign_in
result = await self(request)
File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 30, in call
return await self._call(self._sender, request, ordered=ordered)
File "/usr/local/lib/python3.9/dist-packages/telethon/client/users.py", line 79, in _call
result = await future
telethon.errors.rpcerrorlist.SessionPasswordNeededError: Two-steps verification is enabled and a password is required (caused by SignInRequest)

What am I doing wrong?

@proseltd proseltd added the bug Something isn't working label Apr 10, 2022
@proseltd
Copy link
Owner

Hey there! It looks like you have 2FA enabled on your account and I haven't put something into the authorization request to be able to properly allow for this. I'll work on a solution to this!

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

2 participants