My HTTP Request node is unable to upload files using a multipart/form-data request. The standard “Multipart/Form-Data” option is missing from the node’s UI, making it impossible to configure a file upload. Even when I bypass the UI by pasting the JSON for a correctly configured workflow, the request still fails.
However, an identical request sent from my computer using an external cURL command succeeds perfectly. This proves that the API and my credentials are valid, and the issue is isolated to my n8n environment’s inability to send the file.
What is the error message (if any)?
The node returns a 400 Bad Request. The raw error message from the target API is:
“Parameter validation error. InvalidParameters:{"File":["File size must be greater than 0 bytes.","The File field is required."]}”
Describe the problem/error/question
What is the error message (if any)?
Please share your workflow
Share the output returned by the last node
{
“errorMessage”: “Bad request - please check your parameters [item 0]”,
“errorDescription”: “Parameter validation error.”,
“errorDetails”: {
“rawErrorMessage”: [
“400 - "{\"Code\":4000,\"Message\":\"Parameter validation error.\",\"InvalidParameters\":{\"File\":[\"File size must be greater than 0 bytes.\",\"The File field is required.\"]}}"”
],
“httpCode”: “400”
},
“n8nDetails”: {
“nodeName”: “2. Upload File to ConvertAPI”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “9/17/2025, 11:44:59 AM”,
“n8nVersion”: “1.110.1 (Cloud)”,
“binaryDataMode”: “filesystem”,
“stackTrace”: [
“NodeApiError: Bad request - please check your parameters”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-nodes-base@file+packages+nodes-base_@[email protected]_asn1.js@5_1af219c3f47f2a1223ec4ccec249a974/node_modules/n8n-nodes-base/nodes/HttpRequest/V3/HttpRequestV3.node.ts:847:16)“,
" at processTicksAndRejections (node:internal/process/task_queues:105:5)”,
" at WorkflowExecute.executeNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1254:8)“,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1428:11)”,
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:1760:27",
" at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/n8n-core@file+packages+core_@[email protected]_@[email protected]_5aee33ef851c7de341eb325c6a25e0ff/node_modules/n8n-core/src/execution-engine/workflow-execute.ts:2337:11"
]
}
}
Information on your n8n setup
- n8n version:
- Database (default: SQLite):
- n8n EXECUTIONS_PROCESS setting (default: own, main):
- Running n8n via (Docker, npm, n8n cloud, desktop app):
- Operating system: