Notion API · api · fg-0453

Appending more than 100 blocks or nesting three levels deep in one Notion request fails with validation_error

If you see body failed validation: body.children.length should be ≤ `100`, the cause and the fix for Notion API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
body failed validation: body.children.length should be ≤ `100`400 validation_error when a nested list three levels deep is created in one callLong Markdown imports fail while short ones succeed
Cause
Append block children and page creation accept at most 100 blocks per array and only two levels of nesting in a single request. The whole payload is also capped at 1000 block elements and 500KB.
Fix
Send top-level blocks in batches of 100 and append deeper children in follow-up calls using the block IDs the first call returns.
Apply
for (let i = 0; i < blocks.length; i += 100) { await notion.blocks.children.append({ block_id: pageId, children: blocks.slice(i, i + 100) }); }
Affected
Notion REST API, all versions, 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