Skip to content

Fix: Add type: object to parentRequest schema#241

Open
bakhshb wants to merge 1 commit intomakenotion:mainfrom
bakhshb:main
Open

Fix: Add type: object to parentRequest schema#241
bakhshb wants to merge 1 commit intomakenotion:mainfrom
bakhshb:main

Conversation

@bakhshb
Copy link
Copy Markdown

@bakhshb bakhshb commented Mar 26, 2026

Fix: Add type: object to parentRequest schema in scripts/notion-openapi.json. This fixes MCP clients stringifying object parameters instead of passing them as proper objects.

The parentRequest schema in scripts/notion-openapi.json was missing
type: object, causing MCP clients to stringify object parameters
instead of passing them as proper objects.

This fixes the bug where creating a page with a parent object
(e.g., {database_id: ...}) would fail with validation errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant