Instaloader errors (401/429, hashtag 404, get_reels empty, get_comments fail): how do I fix them?

Instaloader breaks in four distinct ways as Instagram tightens its web and mobile endpoints: 401/429 session blocks across IPs and cookies, hashtag 404s on versions older than 4.14.1, get_reels() returning an empty list because of a deprecated GraphQL doc_id (Nov 2026), and get_comments() failing on busy posts once it falls back to i.instagram.com. Upgrade to 4.14.1+ first and check which failure you hit; for public profiles, posts, Reels, hashtags and comments with no Instagram session, XTikAPI starts at $0.002 a call.

Updated 2026-11-25

Match your Instaloader failure to its cause

401 "Please wait a few minutes" or 429 Too Many Requests (issues #2511, #2750)

Cause in GitHub issues: Instagram throttling the session/account; happens across IPs and saved sessions

Fix or status: Don't run multiple instances or use the mobile app simultaneously; often only waiting helps

Hashtag 404 Not Found on explore/tags/<tag>/ (issue #2144)

Cause in GitHub issues: Instagram retired ?__a=1&__d=dis; data moved to api/v1/tags/web_info/ with x-ig-app-id: 936619743392459

Fix or status: Fixed in **Instaloader 4.14.1** (Jan 2025) — upgrade first

profile.get_reels() returns [] with no error (issue #2797, Nov 2026)

Cause in GitHub issues: Deprecated GraphQL doc_id for Reels; silent failure on scheduled jobs

Fix or status: Open issue; reporter patched locally to doc_id 28971369649196954 and updated extraction

post.get_comments() raises ConnectionException (200 + fail) (issue #2635)

Cause in GitHub issues: Works on small posts via web API, fails on busy posts when switching to i.instagram.com/api/v1/media/<id>/comments/

Fix or status: Closed for inactivity (Sep 2026) without a fix

Reading public Instagram data without a session file

  1. Profiles & user IDs: instagram.accounts.detail with username (id) returns profile stats and numeric user ID ($0.004).
  2. Posts & Reels: instagram.posts.list and instagram.reels.list by numeric id with max_id paging ($0.002/page).
  3. Hashtags: instagram.hashtag_posts.list with hashtag (no #) and end_cursor ($0.002/page).
  4. Comments & replies: instagram.comments.list with post url and pagination_token ($0.004/page), plus instagram.comment_replies.list.

Cost check: 50 accounts × 1 page of posts daily for 30 days = 1,500 calls × $0.002 = $3/month; 30 hashtags × 5 pages daily = 4,500 calls = $9/month.

Why XTikAPI

  • XTikAPI reads Instagram with 9 endpoints from $0.002 a call, and a failed call is not charged.
  • Fewer tokens for AI: across 8 recorded live Instagram calls (2026-11-18), raw platform JSON is ~280k tokens vs ~39k via XTikAPI REST (86.1% fewer) and ~29k via MCP (89.7% fewer).
  • See before you pay: 192 of 229 endpoints show a recorded real response on their page (8 of 9 for Instagram).
  • Prepaid balance, no subscription. Balance never expires, and unused top-up money can be refunded within 14 days.
  • Free trial: a verified account gets $0.50, no card.

Endpoints

Each with its price; the endpoint page has parameters, fields and a recorded response.

Sources

What this page says about other products comes from their own pages and docs, read on 2026-11-25.

More about Instagram

Questions

Why does `get_comments()` pass on my test post but fail in production?

Posts with few comments stay on Instagram's web API; busy posts cross the web pagination threshold and switch to the broken `i.instagram.com` endpoint (issue #2635).

Why should I check counts after `get_reels()`?

When the GraphQL `doc_id` expires, `get_reels()` silently returns an empty list with no exception, making cron jobs appear to succeed while saving zero items.

One key. Start now.

19 platforms, 229 endpoints, from $0.002 a call. Errors and timeouts are free.

Start free