Bug: Notion Page Create to a Specific ID

Using the Notion “Create Page” node and inputting parent page using ID, gives this error:

{
  "errorMessage": "ERROR: Parent Page parameter's value is invalid. This is likely because the URL entered is incorrect",
  "errorDetails": {},
  "n8nDetails": {
    "nodeName": "Create Company Research",
    "nodeType": "n8n-nodes-base.notion",
    "nodeVersion": 2.2,
    "resource": "page",
    "operation": "create",
    "itemIndex": 0,
    "time": "9/22/2024, 6:08:42 AM",
    "n8nVersion": "1.59.3 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "NodeOperationError: ERROR: Parent Page parameter's value is invalid. This is likely because the URL entered is incorrect",
      "    at extractValue (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/ExtractValue.js:132:15)",
      "    at getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:1637:54)",
      "    at Object.getNodeParameter (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2344:24)",
      "    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Notion/v2/NotionV2.node.js:517:90)",
      "    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:722:42)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:670:66",
      "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1100:20"
    ]
  }
}

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

n8n version: 1.59.3
Database: SQLite
Self-Deployed on Docker, Fly.io

screenshot to make it easier:

Hi @justincheu
This sounds like an issue related to this bug here Valid Notion page IDs are rejected · Issue #10831 · n8n-io/n8n · GitHub which has been fixed, could you try upgrading to v1.59.4 or above?

Upgrading to v1.61.0 resolves all Notion ID problems :grin:

2 Likes

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