JavaScript Function Testing with Error Handling

791a207a-5128-41dc-8ab0-21222d7ec82a

Latency
10ms
Cost
$0.0000
Tokens
0
Status
partial
gemini-3-flash-preview

Workflow Graph

Trace

[
  {
    "data": {
      "nodeType": "manualTrigger"
    },
    "event": "node_start",
    "nodeId": "trigger-a3a1cb65",
    "timestamp": 1780741641061
  },
  {
    "data": {
      "initialData": {}
    },
    "event": "triggered",
    "nodeId": "manualTrigger",
    "timestamp": 1780741641061
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "manualTrigger"
    },
    "event": "node_end",
    "nodeId": "trigger-a3a1cb65",
    "timestamp": 1780741641061
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "acde4709-5dca-4894-80aa-c041f4a858e5",
    "timestamp": 1780741641061
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "acde4709-5dca-4894-80aa-c041f4a858e5",
    "timestamp": 1780741641065
  },
  {
    "data": {
      "nodeType": "code"
    },
    "event": "node_start",
    "nodeId": "7cd01085-4de7-479d-99c1-974df410f456",
    "timestamp": 1780741641065
  },
  {
    "event": "execution error: items[0].json.map is not a function",
    "nodeId": "code",
    "timestamp": 1780741641068
  },
  {
    "data": {
      "error": "Code node execution failed: items[0].json.map is not a function",
      "status": "error",
      "degraded": true,
      "nodeType": "code"
    },
    "event": "node_end",
    "nodeId": "7cd01085-4de7-479d-99c1-974df410f456",
    "timestamp": 1780741641069
  },
  {
    "data": {
      "nodeType": "passthrough"
    },
    "event": "node_start",
    "nodeId": "error-bf6f52d3",
    "timestamp": 1780741641071
  },
  {
    "data": {},
    "event": "noOp",
    "nodeId": "passthrough",
    "timestamp": 1780741641071
  },
  {
    "data": {
      "status": "ok",
      "nodeType": "passthrough"
    },
    "event": "node_end",
    "nodeId": "error-bf6f52d3",
    "timestamp": 1780741641071
  }
]