# 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

| Symptom | Cause in GitHub issues | Fix or status |
| --- | --- | --- |
| 401 "Please wait a few minutes" or 429 `Too Many Requests` (issues #2511, #2750) | Instagram throttling the session/account; happens across IPs and saved sessions | 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) | Instagram retired `?__a=1&__d=dis`; data moved to `api/v1/tags/web_info/` with `x-ig-app-id: 936619743392459` | Fixed in **Instaloader 4.14.1** (Jan 2025) — upgrade first |
| `profile.get_reels()` returns `[]` with no error (issue #2797, Nov 2026) | Deprecated GraphQL `doc_id` for Reels; silent failure on scheduled jobs | Open issue; reporter patched locally to doc_id `28971369649196954` and updated extraction |
| `post.get_comments()` raises `ConnectionException` (`200` + `fail`) (issue #2635) | Works on small posts via web API, fails on busy posts when switching to `i.instagram.com/api/v1/media/<id>/comments/` | 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

- [Instagram account details API](https://xtikapi.com/apis/instagram/accounts/detail) ($0.004 a call): An Instagram account profile.
- [Instagram post list API](https://xtikapi.com/apis/instagram/posts/list) ($0.002 a call): An Instagram account's posts.
- [Instagram Reels list API](https://xtikapi.com/apis/instagram/reels/list) ($0.002 a call): An Instagram account's Reels.
- [Instagram hashtag posts API](https://xtikapi.com/apis/instagram/hashtag_posts/list) ($0.002 a call): Instagram posts under a hashtag.
- [Instagram comments API](https://xtikapi.com/apis/instagram/comments/list) ($0.004 a call): A page of comments on an Instagram post.
- [Instagram comment replies API](https://xtikapi.com/apis/instagram/comment_replies/list) ($0.004 a call): Replies under one Instagram comment.
- [Instagram post details API](https://xtikapi.com/apis/instagram/posts/detail) ($0.004 a call): One Instagram post by shortcode or link.

## More about Instagram

- [Instagram API](https://xtikapi.com/apis/instagram)
- [Agent Reach Instagram profile and followers return HTTP 400: why?](https://xtikapi.com/answers/agent-reach-instagram-http-400)
- [My Instagram account keeps getting temporarily locked when scraping with Instaloader: what can I do?](https://xtikapi.com/answers/instagram-account-temporarily-locked)
- [Can the Instagram Graph API get another account's followers and posts?](https://xtikapi.com/answers/instagram-graph-api-other-accounts-business-discovery)
- [What replaced the Instagram Basic Display API?](https://xtikapi.com/answers/instagram-basic-display-api-replacement)

## Sources

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

- [Instaloader issue #2511 (401 Please wait a few minutes)](https://github.com/instaloader/instaloader/issues/2511)
- [Instaloader issue #2750 (429 Too Many Requests)](https://github.com/instaloader/instaloader/issues/2750)
- [Instaloader issue #2144 & v4.14.1 release (hashtag 404)](https://github.com/instaloader/instaloader/issues/2144)
- [Instaloader issue #2797 (Reels returns empty list)](https://github.com/instaloader/instaloader/issues/2797)
- [Instaloader issue #2635 (get_comments fails on busy posts)](https://github.com/instaloader/instaloader/issues/2635)

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

---

XTikAPI: one API key for public social media data, prepaid per call. [HTML version](https://xtikapi.com/answers/instaloader-errors-and-fixes) · [llms.txt](https://xtikapi.com/llms.txt) · [OpenAPI](https://xtikapi.com/openapi.json)
