# Execute Workflow node problem

**URL:** <https://community.n8n.io/t/execute-workflow-node-problem/44030>\
**Category:** Questions\
**Tags:** workflow-building\
**Created:** [April 10, 2024, 10:48am UTC](https://community.n8n.io/t/execute-workflow-node-problem/44030 "2024-04-10T10:48:39Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![pablojimeno](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pablojimeno/32/37633_2.png) [@pablojimeno](https://community.n8n.io/u/pablojimeno)\
**Post date:** [April 10, 2024, 10:48am UTC](https://community.n8n.io/t/execute-workflow-node-problem/44030/1 "2024-04-10T10:48:39Z")

</div>

## Problem description

I’ve created a basecamp chatbot and connected it to a n8n workflow via a webhook node. Then a switch node parses different commands and execute actions some of them are calls to other workflows via Execute Workflow nodes. When I test this workflow with the Webhook Test URL, that is setting the Command URL of the Basecamp Chabot to the Webhook Test URL, all four of the commands work fine, I can chat with the bot and ask for static information in the same workflow (command: help → switch: 0), or ask for reports that execute in another workflow connecting to Notion, manipulating the data and publishing back to Basecamp.  
The problem is that when I activate the workflow, change the URL to production, and trigger the workflow with the report (command: r1 → switch: 1) command that executes via Execute Workflow node, doesn’t work returning: `{"message": "Error in workflow"}`.

I tried many things to solve it. I should add that the workflow that execute the report works fine on it’s own, and has no node that ‘name’ that I can’t find. I’m seeking insights or advice on troubleshooting and resolving this issue.

## What is the error message (if any)?

Inside Basecamp chat I receive this message from the Chatbot: ⚠ Response code: 500.  
In the Execution tab of the base workflow the error is: Cannot read properties of undefined (reading ‘name’) the complete output is at the end below.

## My workflow

 ![The Executed Workflow by the base Workflow](https://europe1.discourse-cdn.com/n8n/original/3X/8/e/8e71c7555727475b2456c663758cfb2c58f6f13a.png)

## Output returned by the last node

```auto
{
  "errorMessage": "Cannot read properties of undefined (reading 'name')",
  "errorDetails": {},
  "n8nDetails": {
    "n8nVersion": "1.34.2 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "TypeError: Cannot read properties of undefined (reading 'name')",
      " at objectToError (/usr/local/lib/node_modules/n8n/dist/WorkflowExecuteAdditionalData.js:65:60)",
      " at Object.executeWorkflow (/usr/local/lib/node_modules/n8n/dist/WorkflowExecuteAdditionalData.js:602:15)",
      " at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      " at Object.executeWorkflow (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2141:24)",
      " at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/ExecuteWorkflow/ExecuteWorkflow.node.js:216:40)",
      " at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:730:19)",
      " at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:660:53",
      " at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1062:20"
    ]
  }
}

```

## Setup Details:

- **Basecamp Configuration** : The chatbot in Basecamp is configured to send commands to the n8n webhook URL.
- **n8n Version** : 1.34.2 (Self Hosted) Docker. Railway.app
- **Database** : default: SQLite

---

<div class="post-metadata">

**Author:** ![n8n](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/n8n/32/196425_2.png) [@n8n](https://community.n8n.io/u/n8n)\
**Post date:** [April 10, 2024, 10:48am UTC](https://community.n8n.io/t/execute-workflow-node-problem/44030/2 "2024-04-10T10:48:40Z")

</div>

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:**

---

<div class="post-metadata">

**Author:** ![pablojimeno](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/pablojimeno/32/37633_2.png) [@pablojimeno](https://community.n8n.io/u/pablojimeno)\
**Post date:** [April 18, 2024, 8:55am UTC](https://community.n8n.io/t/execute-workflow-node-problem/44030/3 "2024-04-18T08:55:29Z")

</div>

I thought this information was already provided, but I’ll try again.

- **n8n version:** 1.36.4
- **Database:** PostgreSQL
- **n8n EXECUTIONS\_PROCESS setting:** Default (own, main)
- **Running n8n via:** Docker on Railway.app
- **Operating system:** Docker container (Linux-based)

---

<div class="post-metadata">

**Author:** ![krthkntrjn](https://dub1.discourse-cdn.com/n8n/user_avatar/community.n8n.io/krthkntrjn/32/38214_2.png) [@krthkntrjn](https://community.n8n.io/u/krthkntrjn)\
**Post date:** [April 18, 2024, 11:46am UTC](https://community.n8n.io/t/execute-workflow-node-problem/44030/4 "2024-04-18T11:46:45Z")

</div>

> [@pablojimeno](#):
>
> `Cannot read properties of `

I had a similar problem of “Cannot read properties of”, and upgrading to version 1.38 fixed it.
