igbot icon indicating copy to clipboard operation
igbot copied to clipboard

[BUG] checkpoint_challenge_required

Open aidenmitchell opened this issue 4 years ago • 4 comments

Example file

welcome_message.py

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:

  1. Run file

Expected behavior

Script logs in.

Version

Python version (python -v): 3.6.9

Operating System: Ubuntu Server 18.04.4

aidenmitchell avatar Apr 12 '20 23:04 aidenmitchell

Hey @aidenmitchell,

We did a quick check and this issue looks very darn similar to

  • #1426 - [QUESTION] where do i set the ammount of feed post and the age the bot will comment
  • #1425 - config checkpoint folder not right
  • #1423 - Approve Pending Follow Requests custom number of requests

This could be a coincidence, but if any of these issues solves your problem then I did a good job :smile:

If not, the maintainers will get to this issue shortly.

Cheers, Your Friendly Neighborhood ProBot

duplicate-issues[bot] avatar Apr 12 '20 23:04 duplicate-issues[bot]

If not to me

brunobozz avatar Apr 14 '20 23:04 brunobozz

I've the same issue and still don't find a way to address this problem

kevtv avatar Apr 18 '20 06:04 kevtv

Don't know if this has to be something to do with this issue but not even if I do "pip install --user instant==0.117.0" or other version, when I see on the terminal my version for instant it's always 0.105.0

kevtv avatar Apr 18 '20 06:04 kevtv