Notion node bug - The resource you are requesting could not be found

Describe the problem/error/question

Only Notion node operation types that allows a database selection works for Database Pages. For example Get Many works therefore and can receive the table content. But Get or Update throws "The resource you are requesting could not be found" even if the same ID as for Get Many is used. These operations doesnt allow to choose the database from a selector. So it seems that there is different code in these nodes which is buggy and prevent proper functioning.

Note: When I click the go-to-icon next to the ID which throws an exception on execution, its successfully opening Notion with the correct database in my browser

What is the error message (if any)?

The resource you are requesting could not be found

{ "object": "error", "status": 404, "code": "object_not_found", "message": "Could not find page with ID: 1c4a8584-77b2-807b-8e16-db3f3ebd772c. Make sure the relevant pages and databases are shared with your integration.", "request_id": "5cddd9e2-ebeb-49df-8578-043cd2db9320" }

Please share your workflow

The following node is not working:

The following node setting is working:

Share the output returned by the last node

Not relevant

Information on your n8n setup

  • n8n version: 1.84.3
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Official Docker Image (latest)

You are mixing id’s.

Database ID: This is the unique identifier for the whole database in Notion. You use it to find or access the entire database via the API.

Database Page ID: This is the unique identifier for a single page (or row) inside a database. You use it to access or update one specific entry in the database.

Think of a spreadsheet:
• The Database ID is like the ID of the whole sheet.
• The Database Page ID is like the ID of one row in that sheet.

2 Likes

Thanks!! :man_facepalming:

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