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.8k stars 141 forks source link

How to read the `block` text? #193

Closed AbdirayimovS closed 1 year ago

AbdirayimovS commented 1 year ago

Dear All,

What I did:

I get the block_id from helpers.get_id() function. I want to see the content inside the certain block. I used notion.blocks.retrieve(block_id=block_id):

Error:

I believe that I gave all permission for my integration app. What went wrong?

APIResponseError: Could not find block with ID: 5b906cb9-0108-455d-bae4-7fe98b9a64ac. Make sure the relevant pages and databases are shared with your integration.