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

blocks the email #98

Open
tulliodeans opened this issue Mar 21, 2024 · 1 comment
Open

blocks the email #98

tulliodeans opened this issue Mar 21, 2024 · 1 comment

Comments

@tulliodeans
Copy link

Good afternoon, Diezo! I have a small problem that every account I try to log into using "mobile = Mobile(username, password)", only returns email confirmation. I log into the account through the browser, it is normal, when I run the code it blocks the email. Can you fix it?

@tulliodeans
Copy link
Author

Traceback (most recent call last):
File "c:\Users\patiwifo\API.py", line 46, in
mobile = Mobile(username, password)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\patiwifo\AppData\Local\Programs\Python\Python312\Lib\site-packages\ensta\Mobile.py", line 51, in init
self.refresh_credentials(
File "C:\Users\patiwifo\AppData\Local\Programs\Python\Python312\Lib\site-packages\ensta\Mobile.py", line 82, in refresh_credentials
self.credentials = Credentials(
^^^^^^^^^^^^
File "C:\Users\patiwifo\AppData\Local\Programs\Python\Python312\Lib\site-packages\ensta\Credentials.py", line 73, in init
self.login(identifier, password, save_file)
File "C:\Users\patiwifo\AppData\Local\Programs\Python\Python312\Lib\site-packages\ensta\Credentials.py", line 143, in login
raise AuthenticationError(
ensta.lib.Exceptions.AuthenticationError: Login failed with given credentials.
Error: "unknown"
Message: "challenge_required"

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

No branches or pull requests

1 participant