- 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