notion-sdk-py icon indicating copy to clipboard operation
notion-sdk-py copied to clipboard

Failed to insert block before first block on page

Open brainyoung-com opened this issue 1 year ago • 0 comments

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.

brainyoung-com avatar Jul 16 '24 20:07 brainyoung-com