- 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