Notion API · api · fg-0454

Code that reads page.archived or passes after to append breaks after opting into Notion-Version 2026-03-11

If you see page.archived is undefined on every page, the cause and the fix for Notion API are below, last verified 2026-10-15.

Verified Oct 2026trust 50/100
Symptom
page.archived is undefined on every pageAppend block children calls that pass after stop workingBlocks of type transcription no longer appear; they come back as meeting_notes
Cause
Version 2026-03-11 renamed archived to in_trash in requests and responses, replaced the after parameter with a position object, and renamed the transcription block type to meeting_notes.
Fix
Update field names and block type checks before switching versions. In the JS SDK, upgrade to 5.12.0 or later and set notionVersion explicitly.
Apply
await notion.blocks.children.append({ block_id: pageId, children, position: { type: "after_block", after_block: { id: anchorBlockId } }, }); await notion.pages.update({ page_id, in_trash: true });
Affected
Notion-Version 2026-03-11; @notionhq/client 5.12.0 and later when notionVersion is set to it
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