2019-04-04 08:29:35,523 - INFO - Instabot Started
2019-04-04 08:29:36,419 - ERROR - Request returns 400 error!
2019-04-04 08:29:36,420 - INFO - Instagram's error message: challenge_required
2019-04-04 08:29:36,420 - INFO - Error type: checkpoint_challenge_required
2019-04-04 08:29:36,420 - INFO - Username or password is incorrect.
bot.following is empty, will download.
Traceback (most recent call last):
File "unfollow_everyone.py", line 25, in
bot.unfollow_everyone()
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot.py", line 522, in unfollow_everyone
return unfollow_everyone(self)
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot_unfollow.py", line 59, in unfollow_everyone
self.unfollow_users(self.following)
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot.py", line 225, in following
self._following = self.get_user_following(self.user_id)
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot.py", line 190, in user_id
return self.api.user_id
File "/usr/local/lib/python3.6/dist-packages/instabot/api/api.py", line 258, in user_id
return self.cookie_dict['ds_user_id']
KeyError: 'ds_user_id'
i'm same here
same here but like

samve
2019-04-04 08:29:35,523 - INFO - Instabot Started
2019-04-04 08:29:36,419 - ERROR - Request returns 400 error!
2019-04-04 08:29:36,420 - INFO - Instagram's error message: challenge_required
2019-04-04 08:29:36,420 - INFO - Error type: checkpoint_challenge_required
2019-04-04 08:29:36,420 - INFO - Username or password is incorrect.
bot.followingis empty, will download.
Traceback (most recent call last):
File "unfollow_everyone.py", line 25, in
bot.unfollow_everyone()
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot.py", line 522, in unfollow_everyone
return unfollow_everyone(self)
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot_unfollow.py", line 59, in unfollow_everyone
self.unfollow_users(self.following)
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot.py", line 225, in following
self._following = self.get_user_following(self.user_id)
File "/usr/local/lib/python3.6/dist-packages/instabot/bot/bot.py", line 190, in user_id
return self.api.user_id
File "/usr/local/lib/python3.6/dist-packages/instabot/api/api.py", line 258, in user_id
return self.cookie_dict['ds_user_id']
KeyError: 'ds_user_id'
Same error? Any solution?
Same here! Did anybody find a solution?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
Still got the problem. Probably because of an underscore in the user name.
Nope, no underscore in my username (it's just letters) and I'm also getting the same error. This is my first time trying this bot and I've followed all the steps correctly, and I'm getting the same error.
I was just entering my password incorrectly. Check that you are entering your correct password, and try to put quotation marks around your username and password:
python3 like_hashtags.py -u 'yourusername' -p 'yourpassword'
Same issue here!!
You received an instagram checkpoint challenge. Use
bot.login(ask_for_code=True)
Also see #1140
You received an instagram checkpoint challenge. Use
bot.login(ask_for_code=True)Also see #1140
That is it! You saved my life!
@leoccyao Maybe it is worth to add this parameter by default?
You received an instagram checkpoint challenge. Use
bot.login(ask_for_code=True)Also see #1140
Exactly where am I supposed to insert this code?
@ohld Where should I place the code?
You received an instagram checkpoint challenge. Use
bot.login(ask_for_code=True)Also see #1140
Hey guys, where should we insert this line of code ?
Thanks <3
Closing this since its a very old issue. If this is still an issue please open a new one.
Most helpful comment
You received an instagram checkpoint challenge. Use
Also see #1140