ohld / igbot

🐙 Free scripts, bots and Python API wrapper. Get free followers with our auto like, auto follow and other scripts!
https://hikerapi.com/p/N2P6iqiM
Apache License 2.0
4.69k stars 1.47k forks source link

[BUG] no login possible #1285

Closed MrTob closed 4 years ago

MrTob commented 4 years ago

p0TaS.png

python Instabot.py

Describe the bug The script throws a Exception called " Not logged in!! The script is this example

Log

2020-02-11 17:44:35,906 - INFO - PRE-LOGIN FLOW!... 
2020-02-11 17:44:36,391 - DEBUG - POST to endpoint: accounts/read_msisdn_header/ returned response: <Response [200]>
2020-02-11 17:44:36,656 - DEBUG - POST to endpoint: launcher/sync/ returned response: <Response [200]>
2020-02-11 17:44:36,912 - DEBUG - POST to endpoint: qe/sync/ returned response: <Response [200]>
2020-02-11 17:44:37,141 - DEBUG - POST to endpoint: attribution/log_attribution/ returned response: <Response [200]>
2020-02-11 17:44:37,366 - DEBUG - POST to endpoint: accounts/contact_point_prefill/ returned response: <Response [200]>
2020-02-11 17:44:38,589 - DEBUG - POST to endpoint: accounts/login/ returned response: <Response [400]>
2020-02-11 17:44:38,589 - DEBUG - Responsecode indicates error; response content: b'{"message": "challenge_required", "challenge": {"url": "https://i.instagram.com/challenge/27448361938/lTUVWBnACY/", "api_path": "/challenge/27448361938/lTUVWBnACY/", "hide_webview_header": true, "lock": true, "logout": false, "native_flow": true}, "status": "fail", "error_type": "checkpoint_challenge_required"}'
2020-02-11 17:44:38,589 - ERROR - Request returns 400 error!
2020-02-11 17:44:38,589 - INFO - Instagram's error message: challenge_required
2020-02-11 17:44:38,590 - INFO - Error type: checkpoint_challenge_required
2020-02-11 17:44:38,590 - INFO - Checkpoint challenge required...
2020-02-11 17:44:38,590 - CRITICAL - Not logged in!

To Reproduce

(EXAMPLE:) Steps to reproduce the behavior:

  1. Run the python file:

Expected behavior

As in the example, the program should output a greeting from the official LEGO account.

Additional context

no other context

Version

Python version (3.6.3): OS: Win

bruvv commented 4 years ago

Again, this is not the template. Your error message should be copy pasted between the lines if you read the template. Also the line "challange requirte" says it all....

MrTob commented 4 years ago

thank you for the quick feedback. but i don't understand the notification "Checkpoint challenge required". where can i find an explanation in the docs?

bruvv commented 4 years ago

Here ;) https://github.com/instagrambot/instabot/issues?utf8=%E2%9C%93&q=is%3Aissue+challenge_required