Igbot: A lot of 404 Errors

Created on 14 Nov 2018  Â·  9Comments  Â·  Source: ohld/igbot

Please follow the guide below

  • Issues submitted without this template format will be ignored.
  • You will be asked some questions and requested to provide some information, please read them carefully and answer completely.
  • Put an x into all the boxes [ ] relevant to your issue (like so [x]).
  • Use the Preview tab to see how your issue will actually look like.

Before submitting an issue, make sure you have:

  • [x] Updated to the latest version
  • [x] Read the README and docs
  • [x] [Searched](https://github.com/instagrambot/instabot/search?type=Issues) the bugtracker for similar issues including closed ones

Purpose of your issue?

  • [x] Bug report (encountered problems/errors)
  • [ ] Feature request (request for a new functionality)
  • [ ] Question
  • [ ] Other

The following sections requests more details for particular types of issues, you can remove any section (the contents between the triple ---) not applicable to your issue.


For a bug report, you must include the Python version used, code that will reproduce the error, and the error log/traceback.

Paste the output of python -V here: Python 2.7.10

Error/Debug Log:

screenshot 2018-11-14 at 10 27 28


Describe your issue

I am getting a lot of 404 errors but the code seems to be still working. I have found two other bug reports of this but no answers yet! What does this mean and what can be done to fix it?!

Most helpful comment

Ok I added some debug in api.py, and found that it was caused by a non existing user in whitelist.txt

All 9 comments

Which script do you have running?

I get this Problem when I Change the attributes for the follow and like amount. so practically I get 350 follows without 404 error and the others with error (but it still works).

I don't know what causes this Problem, sorry

Would be nice if we could get a solution to this!

I get this error after an unfollow

Ok I added some debug in api.py, and found that it was caused by a non existing user in whitelist.txt

Ok I added some debug in api.py, and found that it was caused by a non existing user in whitelist.txt

Very helpful, thank you! I had the same error and solved it removing the while list :D

I checked my whitelist.txt and all the users there exist. Could it be a user in the blacklist?

2019-01-23 10:12:16,464 - INFO - Going to like and follow recent post likers of robbiel1.

bot.following is empty, will download.
Getting followings of 7631727420: 2814it [00:04, 648.31it/s]

bot.followers is empty, will download.
Getting followers of 7631727420: 4250it [00:08, 512.74it/s]
0%| | 0/211 [00:00

USER_NAME: djuna4, FOLLOWER: 150, FOLLOWING: 326

info: account is PRIVATE, skipping!
Adding '302102043' to skipped.txt.

===> Going to follow user_id: 302102043.
2019-01-23 10:12:48,780 - ERROR - Request returns 404 error!

USER_NAME: djuna4, FOLLOWER: 150, FOLLOWING: 326

info: account is PRIVATE, skipping!
Adding '302102043' to skipped.txt.
'302102043' already in skipped.txt.
0%|â–Ž | 1/211 [00:16<59:05, 16.88s/it]2019-01-23 10:12:51,211 - ERROR - Request returns 404 error!

USER_NAME: stellaamargot, FOLLOWER: 24, FOLLOWING: 32
2019-01-23 10:12:52,042 - INFO - Liking user_8893302987's feed:
2019-01-23 10:12:52,851 - INFO - Received 4 medias.
2019-01-23 10:12:52,851 - INFO - After filtration 0 medias left.
2019-01-23 10:12:52,851 - INFO - None medias received: account is closed or medias have been filtered.

===> Going to follow user_id: 8893302987.
2019-01-23 10:12:54,120 - ERROR - Request returns 404 error!

USER_NAME: stellaamargot, FOLLOWER: 24, FOLLOWING: 32

===> FOLLOWED <==== user_id: 8893302987.
Adding '8893302987' to followed.txt.
1%|â–‹ | 2/211 [00:22<47:29, 13.63s/it]2019-01-23 10:12:58,185 - ERROR - Request returns 404 error!

USER_NAME: delphoe, FOLLOWER: 170, FOLLOWING: 601

following_count / follower_count > bot.max_following_to_followers_ratio, skipping!
Adding '29290609' to skipped.txt.

===> Going to follow user_id: 29290609.
2019-01-23 10:13:00,614 - ERROR - Request returns 404 error!

USER_NAME: delphoe, FOLLOWER: 170, FOLLOWING: 601

following_count / follower_count > bot.max_following_to_followers_ratio, skipping!
Adding '29290609' to skipped.txt.
'29290609' already in skipped.txt.
1%|â–‰ | 3/211 [00:28<39:02, 11.26s/it]2019-01-23 10:13:04,126 - ERROR - Request returns 404 error!

USER_NAME: the_nrthrn_lights, FOLLOWER: 1500, FOLLOWING: 3806

following_count > bot.max_following_to_follow, skipping!
Adding '212637364' to skipped.txt.

===> Going to follow user_id: 212637364.
2019-01-23 10:13:06,928 - ERROR - Request returns 404 error!

USER_NAME: the_nrthrn_lights, FOLLOWER: 1500, FOLLOWING: 3806

following_count > bot.max_following_to_follow, skipping!
Adding '212637364' to skipped.txt.
'212637364' already in skipped.txt.
2%|█▎ | 4/211 [00:34<33:18, 9.65s/it]2019-01-23 10:13:10,863 - ERROR - Request returns 404 error!

USER_NAME: darkergarden, FOLLOWER: 75, FOLLOWING: 88
2019-01-23 10:13:11,829 - INFO - Liking user_9146482719's feed:
2019-01-23 10:13:12,283 - INFO - Received 18 medias.
2019-01-23 10:13:12,284 - INFO - After filtration 9 medias left.
2019-01-23 10:13:12,284 - INFO - Going to like 2 medias.
2019-01-23 10:13:16,099 - ERROR - Request returns 404 error! | 0/2 [00:00

OHH I think I realised what I was doing wrong. In the whitelist I had put the usernames instead of the user IDs.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

HappySeal picture HappySeal  Â·  3Comments

AmruthPillai picture AmruthPillai  Â·  6Comments

nizarganteng picture nizarganteng  Â·  3Comments

iransales picture iransales  Â·  4Comments

yaniferhaoui picture yaniferhaoui  Â·  6Comments