This repository was archived by the owner on Feb 25, 2024. It is now read-only.

Description
Example file
Describe the bug
Cannot login to my Instagram account because of checkpoint_challenge_required
Log
2020-04-12 23:30:32,370 - INFO - Not yet logged in starting: PRE-LOGIN FLOW!
2020-04-12 23:30:34,475 - ERROR - Request returns 400 error!
2020-04-12 23:30:34,476 - INFO - Instagram's error message: challenge_required
2020-04-12 23:30:34,476 - INFO - Error type: checkpoint_challenge_required
2020-04-12 23:30:34,476 - CRITICAL - Not logged in!
Traceback (most recent call last):
File "welcome_message.py", line 85, in <module>
main()
File "welcome_message.py", line 65, in main
new_followers = get_recent_followers(bot, start_time)
File "welcome_message.py", line 22, in get_recent_followers
ok = bot.api.get_recent_activity()
File "/home/ubuntu/.local/lib/python3.6/site-packages/instabot/api/api.py", line 1112, in get_recent_activity
return self.send_request("news/inbox/?limited_activity=true&show_su=true")
File "/home/ubuntu/.local/lib/python3.6/site-packages/instabot/api/api.py", line 486, in send_request
raise Exception(msg)
Exception: Not logged in!
To Reproduce
(EXAMPLE:) Steps to reproduce the behavior:
- Run file
Expected behavior
Script logs in.
Version
Python version (python -v): 3.6.9
Operating System: Ubuntu Server 18.04.4