Describe the problem/error/question
I have a workflow where a form submission uploads an image file. The file is then passed to OpenAI (GPT) for processing, which returns region coordinates. After that, I send the original file along with the coordinates to a FastAPI endpoint.
The problem occurs when sending the file through the HTTP Request node. I keep getting the following error even after using a Convert to File node to transform the base64 string into a file:
Your request is invalid or could not be processed by the service.
Value error, Expected UploadFile, received:
I also tried setting binary data in the HTTP node, but it still fails.
What is the error message (if any)?
This operation expects the node's input data to contain a binary file 'binary_data', but none was found [item 0]
Without conversion, it shows:
This operation expects the node's input data to contain a binary file '[object Object]', but none was found [item 0].
Make sure that the previous node outputs a binary file.
Please share your workflow
Form Submission → Extract from File → Convert to File → Analyze Image (GPT) → HTTP Request (FastAPI)
Share the output returned by the last node
The HTTP node returns:
{
"errorMessage": "This operation expects the node's input data to contain a binary file 'binary_data', but none was found [item 0]",
"errorDescription": "Make sure that the previous node outputs a binary file",
"errorDetails": {},
"n8nDetails": {
"nodeName": "HTTP Request",
"nodeType": "n8n-nodes-base.httpRequest",
"nodeVersion": 4.2,
"itemIndex": 0,
"time": "28/10/2025, 2:23:22 pm",
"n8nVersion": "1.109.2-exp.0 (Cloud)",
"binaryDataMode": "filesystem",
"stackTrace": [
"NodeOperationError: This operation expects the node's input data to contain a binary file 'binary_data', but none was found [item 0]",
" at assertBinaryData (/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/node-execution-context/utils/binary-helper-functions.ts:62:9)",
" at Object.assertBinaryData (/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/node-execution-context/execute-context.ts:104:21)",
" at parametersToKeyValue (/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:329:39)",
" at prepareRequestBody (/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/GenericFunctions.ts:264:25)",
" 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:354:53)",
" 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:1253:31)",
" 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:1427:22)",
" 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:1727:38",
" 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:2303:11"
]
}
}
Information on your n8n setup
-
n8n version: 1.109.2-exp.0
-
n8n EXECUTIONS_PROCESS: main
-
Running n8n via: n8n Cloud
-
Operating system: Cloud
-
Instance ID: 761a0dade4e805a87eb601bc40f2a72d1c0e5f155a59077d50f3d47708197377