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.71k stars 1.47k forks source link

Request returns 400 error #860

Closed MacSweazy closed 4 years ago

MacSweazy commented 5 years ago

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'

m0o0hammad commented 5 years ago

i'm same here

zeing commented 5 years ago

same here but like

image

glisilghiro commented 5 years ago

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.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'

Same error? Any solution?

SelfMadeDev commented 5 years ago

Same here! Did anybody find a solution?

stale[bot] commented 5 years ago

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.

Kobaltauge commented 5 years ago

Still got the problem. Probably because of an underscore in the user name.

canpoyrazoglu commented 5 years ago

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.

canpoyrazoglu commented 5 years ago

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'

llapieta commented 5 years ago

Same issue here!!

leoccyao commented 4 years ago

You received an instagram checkpoint challenge. Use

bot.login(ask_for_code=True)

Also see #1140

Spixmaster commented 4 years ago

You received an instagram checkpoint challenge. Use

bot.login(ask_for_code=True)

Also see #1140

That is it! You saved my life!

ohld commented 4 years ago

@leoccyao Maybe it is worth to add this parameter by default?

viktorvexacious commented 4 years ago

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?

viktorvexacious commented 4 years ago

@ohld Where should I place the code?

KadabrahG commented 4 years ago

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

bruvv commented 4 years ago

Closing this since its a very old issue. If this is still an issue please open a new one.