#38878·n8n

bug(n8n-node): "Invalid identifier: a value is required" error on Execution Get/Delete operations in v2.39.6

Author: saud978Created Sep 16, 2026Updated Sep 17, 2026
Labelsteam:nodesstatus:in-linearstatus:team-assigned

Bug Description

After updating n8n to version 2.39.6, the n8n node (n8n-nodes-base.n8n) fails when attempting to execute Get or Delete operations on a specific execution resource.

Even when entering a valid Execution ID hardcoded into the field manually (without expressions), the node fails to execute and throws the following error: "errorMessage": "Invalid identifier: a value is required".

Note: The Get Many operation works fine without issues. The same GET/DELETE API requests work successfully when tested externally via Postman using the n8n REST API.

Actual behavior

The node fails with the error: NodeOperationError: Invalid identifier: a value is required

Error Stack Trace

{
  "errorMessage": "Invalid identifier: a value is required",
  "errorDetails": {},
  "n8nDetails": {
    "nodeName": "Get an execution",
    "nodeType": "n8n-nodes-base.n8n",
    "nodeVersion": 1,
    "resource": "execution",
    "operation": "get",
    "itemIndex": 0,
    "runIndex": 0,
    "n8nVersion": "2.39.6 (Self Hosted)",
    "stackTrace": [
      "NodeOperationError: Invalid identifier: a value is required",
      "    at RoutingNode.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file++++home+runner+_work+n8n+n8n+packages+core/node_modules/n8n-core/src/execution-engine/routing-node.ts:278:9)"
    ]
  }
}

To Reproduce

  1. Create a workflow in n8n v2.39.6.
  2. Add the n8n node (n8n-nodes-base.n8n).
  3. Set Resource to Execution.
  4. Set Operation to Get (or Delete).
  5. Provide a valid Execution ID (either via Expression or plain text/number).
  6. Execute the node.

Expected behavior

The node should successfully fetch or delete the specified execution record.

Debug Info

core

  • n8nVersion: 2.39.6
  • platform: docker (self-hosted)
  • nodeJsVersion: 26.7.0
  • nodeEnv: production
  • database: postgres
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)
  • consumerId: b8d1ae2a-84c8-4024-9058-b5b891a7105f

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: filesystem

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/153.0.0.0 safari/537.36
  • isTouchDevice: false

cluster

  • instanceCount: 1
  • versions: 2.39.6
  • instances:
    • instanceKey: e6b56443-b2b1-4221-a93d-9a4588afe19a, hostId: main-ef33fa86f4e3, instanceType: main, instanceRole: leader, version: 2.39.6
  • checks:
    • check: hostid-clash, status: succeeded, warnings: -
    • check: lifecycle, status: succeeded, warnings: -
    • check: split-brain, status: succeeded, warnings: -
    • check: version-mismatch, status: succeeded, warnings: -

Generated at: 2026-09-16T17:38:57.178Z

Operating System

Ubuntu 24.04.5 LTS

n8n Version

2.39.6

Node.js Version

26.7.0

Database

PostgreSQL

Execution mode

main (default)

Hosting

self hosted