Cat make it work
SebastianSchuetze opened this issue · 1 comments
SebastianSchuetze commented
Hi,
I tried a while and I am not sure what I am doing wrong here. I have the following page for testing (published it for demo purposes):
https://www.notion.so/77824377786043c88e9e3acb7522ba1e?v=a8b9291a45ab4f28acfb16015f32523a
I thought that either the url until "?" is the correct url or the ID after the first "/" would be the ID.
I followed to create an integration which has read rights (only read rights). I used the given CLI command to add the token as an env var.
export NOTION_TOKEN="secret_12345566"
then I called the following:
notion2md --download -n post -p ./notionpage/posts/ -i 77824377786043c88e9e3acb7522ba1e
But I only get:
Retrieving Notion blocks... (0.4s)
ERROR Could not find block with ID: 77824377-7860-43c8-8e9e-3acb7522ba1e. Make sure the relevant pages and databases are shared with your integration.
I must do something wrong here. Could you give me a hint?
SebastianSchuetze commented
I solved it. I needed to permit the integration into my page under "connections" first. I thought it would have access...