HTTP Requests throws "Cannot read properties of undefined (reading 'name')"

Hi,

I try to execute a HTTP Request and get a Cannot read properties of undefined (reading ‘name’)

{
  "errorMessage": "Cannot read properties of undefined (reading 'name')",
  "errorDetails": {},
  "n8nDetails": {
    "n8nVersion": "1.42.1 (Self Hosted)",
    "binaryDataMode": "default",
    "stackTrace": [
      "TypeError: Cannot read properties of undefined (reading 'name')",
      "    at FormData._getContentDisposition (/usr/local/lib/node_modules/n8n/node_modules/form-data/lib/form_data.js:227:40)",
      "    at FormData._multiPartHeader (/usr/local/lib/node_modules/n8n/node_modules/form-data/lib/form_data.js:178:33)",
      "    at FormData.append (/usr/local/lib/node_modules/n8n/node_modules/form-data/lib/form_data.js:71:21)",
      "    at prepareRequestBody (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/GenericFunctions.js:149:22)",
      "    at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:1338:91)",
      "    at processTicksAndRejections (node:internal/process/task_queues:95:5)",
      "    at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:728:19)",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:664:53",
      "    at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1073:20"
    ]
  }
}

Share the output returned by the last node

Information on your n8n setup

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

Welcome to the community @fendle :tada:
Could you share with us your workflow by copy+pasting the workflow JSON or tell us a bit more about the HTTP Request you’re making?

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