Describe the problem/error/question
audio file is generated using 11 labs. I am trying to upload the asset to hedra using their upload asset api. the configuration is straight forward , but it gives a 422 error
What is the error message (if any)?
Your request is invalid or could not be processed by the service
Value error, Expected UploadFile, received: (type=value_error at body.file)
{
“errorMessage”: “Your request is invalid or could not be processed by the service”,
“errorDescription”: “Value error, Expected UploadFile, received: <class ‘str’> (type=value_error at body.file)”,
“errorDetails”: {
“rawErrorMessage”: [
“422 - "{\"code\":422,\"messages\":[\"Value error, Expected UploadFile, received: <class ‘str’> (type=value_error at body.file)\"]}"”
],
“httpCode”: “422”
},
“n8nDetails”: {
“nodeName”: “HTTP Request”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “5/23/2025, 10:57:31 PM”,
“n8nVersion”: “1.93.0 (Self Hosted)”,
“binaryDataMode”: “default”,
“stackTrace”: [
“NodeApiError: Your request is invalid or could not be processed by the service”,
" at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/HttpRequest/V3/HttpRequestV3.node.js:615:21)“,
" at processTicksAndRejections (node:internal/process/task_queues:95:5)”,
" at WorkflowExecute.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:696:27)“,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:930:51”,
" at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/execution-engine/workflow-execute.js:1266:20"
]
}
}
Please share your workflow
Share the output returned by the last node
Information on your n8n setup
- n8n version:1.93.0
- Database (default: SQLite): postgres
- n8n EXECUTIONS_PROCESS setting (default: own, main):main
- Running n8n via (Docker, npm, n8n cloud, desktop app):Docker(self-hosted)
- **Operating system:windows **