Notion API · api · fg-0461

Notion query or list call returns exactly 100 results and the rest are missing

If you see results.length is 100 and has_more is true, the cause and the fix for Notion API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
results.length is 100 and has_more is trueBlock children list stops at 100 blocks on long pagesExport script misses rows past the first page
Cause
List and query endpoints return at most 100 items per call and expect next_cursor to be passed back as start_cursor. Code that reads one response only ever sees the first page.
Fix
Loop on has_more and next_cursor, or use the SDK pagination helpers.
Apply
import { collectPaginatedAPI } from "@notionhq/client"; const blocks = await collectPaginatedAPI(notion.blocks.children.list, { block_id: pageId });
Affected
Notion REST API, all list and query endpoints, as of 2026-10
Sources

Last verified 2026-10-15 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

$ /plugin marketplace add getfootgun/footgun
$ /plugin install footgun@footgun