Notion API · api · fg-0619

Notion insert_content with the ellipsis after parameter is deprecated in favor of position after_content

If you see insert_content using after with ellipsis text is flagged deprecated, the cause and the fix for Notion API are below, last verified 2026-11-27.

Verified Nov 2026trust 50/100
Symptom
insert_content using after with ellipsis text is flagged deprecatedposition after_content with an anchor is rejected when markdown_version is not v2
Cause
The ellipsis-based insert_content.after parameter was deprecated on 2026-11-24. The replacement position types after_content and before_content only work with markdown_version v2.
Fix
Replace after with position of type after_content and an anchor string, and send markdown_version v2 on the request. Upgrade @notionhq/client to v5.32.0 or later for types.
Apply
"insert_content": {"markdown": "...", "position": {"type": "after_content", "anchor": "## Action items"}}, "markdown_version": "v2"
Affected
Update page markdown calls using insert_content.after; SDK @notionhq/client before v5.32.0 lacks the types
Sources

Last verified 2026-11-27 · Confirmed by 0 builders

Related traps

Have your agent know this before it fails

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