Bug Report: HTTP Request Node “Cannot read properties of null (reading 'name')” in Binary‐to–Mistral Workflow

Describe the problem/error/question

I’m seeing a reproducible error in n8n v1.81.4 when attempting to send a binary file from S3 to the Mistral OCR API using the HTTP Request node. The node crashes during request construction, preventing the workflow from completing.

What is the error message (if any)?

Cannot read properties of null (reading 'name')

Please share your workflow

Share the output returned by the last node

{
  "errorMessage": "Cannot read properties of null (reading 'name')",
  "errorDetails": {
    "rawErrorMessage": [
      "Cannot read properties of null (reading 'name')"
    ]
  }
}

Information on your n8n setup

  • n8n version: 1.81.4 (npm)
  • Database: sqlite
  • n8n EXECUTIONS_PROCESS setting: regular
  • Running n8n via: npm
  • Operating system: Debian 12 bookworm

hello @KCHANFOUR

Don’t use Form-data option, use n8n binary file

Hi @KCHANFOUR, you can try my node btw

Here I changed your request method from GET to POST, and add several things that needed from mistral ai api

What is your version of n8n ? Because I still get the same error even with your node

{
“errorMessage”: “Cannot read properties of null (reading ‘name’)”,
“errorDetails”: {
“rawErrorMessage”: [
“Cannot read properties of null (reading ‘name’)”
]
},
“n8nDetails”: {
“nodeName”: “HTTP Request1”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “08/07/2025 15:14:15”,
“n8nVersion”: “1.81.4 (Self Hosted)”,
“binaryDataMode”: “default”,
]
}
}

Try to update your n8n first, refer to official documentation about how to update n8n with docker compose.

I’m using latest n8n

Ok i will try the latest then thanks a lot ^^

you’re welcome!
btw, if it helps, kindly mark my message as solution, thanks!:slight_smile:

1 Like