Could not find page with ID

Describe the problem/error/question

I wanted to link a google sheet which is fed by a google form with a notion database. I have a working connection from n8n to notion as I have been able to create pages but when I change the node to an update operation it keeps giving me errors on the ID. When I fill in the ID on the create operation is works perfect

What is the error message (if any)?

ERROR: UNKNOWN ERROR - check the detailed error for more information

Could not find page with ID: a9e8d6d4-e476-4d33-9af0-533700e2116b. Make sure the relevant pages and databases are shared with your integration.

details >

NodeApiError: UNKNOWN ERROR - check the detailed error for more information
    at Object.notionApiRequest (/private/var/folders/vc/g9f1bt8j6j93nn5h1p1b650c0000gn/T/AppTranslocation/A2C0895C-2C65-4285-8D8A-D2CF8728FB9D/d/
    at runMicrotasks (<anonymous>)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at Object.execute (/private/var/folders/vc/g9f1bt8j6j93nn5h1p1b650c0000gn/T/AppTranslocation/A2C0895C-2C65-4285-8D8A-D2CF8728FB9D/d/
    at Workflow.runNode (/private/var/folders/vc/g9f1bt8j6j93nn5h1p1b650c0000gn/T/AppTranslocation/A2C0895C-2C65-4285-8D8A-D2CF8728FB9D/d/
    at /private/var/folders/vc/g9f1bt8j6j93nn5h1p1b650c0000gn/T/AppTranslocation/A2C0895C-2C65-4285-8D8A-D2CF8728FB9D/d/

Please share your workflow

Share the output returned by the last node

there is no output just the error message above

Information on your n8n setup

  • n8n version: 1.9.0
  • Database (default: SQLite): ?
  • n8n EXECUTIONS_PROCESS setting (default: own, main): ?
  • Running n8n via (Docker, npm, n8n cloud, desktop app): desktop app
  • Operating system: M1 mac running MacOS

Hi @Jalmar_Verbraak, welcome to the community!

Have you shared the page to update with your integration as suggested in the error message? Otherwise n8n can’t see it. In the Notion UI, you can find this option in the ellipsis menu under Add connections. The name of the connection will depend on what you’ve used when setting this up, but it should look like so:

Dear MutedJam,

I have indeed shared the database with the connection. As is can create a page using n8n but just the update function is giving me problems.
I have tried using the database ID in the create function which work perfect but when I use the exact same database ID within the update function it is giving me the error I posted at the beginning.
I hope this gives you some more insight on the situation

Hi @Jalmar_Verbraak, in this case you might need to double-check the ID you are using here and make sure it does indeed belong to the correct page inside the database you have shared.

If your n8n instance still can’t access the respective page you might need to check with Notion if there are any additional access restrictions.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.