ramnes / notion-sdk-py

The official Notion API client library, but rewritten in Python! (sync + async)
https://ramnes.github.io/notion-sdk-py
MIT License
1.75k stars 138 forks source link

Failed to insert block before first block on page #237

Open brainyoung-com opened 2 months ago

brainyoung-com commented 2 months ago

result = notion.blocks.children.append(block_id=page['id'], children=children, after=page['id'])

What should I pass for the "after" parameter?

Is there any possibility of going to a page that already has content and inserting a first block? Thanks.