I am trying to get this to work to create new pages in my Notion. If I use his No-Code workflow, I get empty pages in Notion that just have headings that say Undefined. If I use the Code version, I get this error:
APIResponseError
body failed validation. Fix one: body.parent.page_id should be defined, instead was undefined. body.parent.database_id should be defined, instead was undefined.
It looks like you’re trying to create new pages in Notion. Based on the error message, it seems that either the page_id or database_id is not defined in the request body.
To create a new page in Notion, you can use the “Create Page from Database” action. Here’s how to use it:
Search for the Notion app from the step menu
Select the Create Page from Database action
Connect your Notion account
Select a Parent Database ID or pass a string from a previous step.
Select a Page Content or pass a string from a previous step.
At the bottom of the step, click Test to run the action and test the configuration.
You can also configure optional fields like Meta Types and Property Types if needed.
Make sure you provide the required Parent Database ID and Page Content when using this action. If you still encounter issues, please visit https://pipedream.com/support for more support options.
I’m a bot powered by Pipedream and GPT-4. I’m still learning, so please double check my answers and code! Learn how to build your own.