Unable to upload audio file to Hedra

unable to upload audio file to Hedra

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”: “Upload Audio (Hedra)”,
“nodeType”: “n8n-nodes-base.httpRequest”,
“nodeVersion”: 4.2,
“itemIndex”: 0,
“time”: “6/18/2025, 12:41:49 AM”,
“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"
]
}
}

Debug info

core

  • n8nVersion: 1.93.0
  • platform: docker (self-hosted)
  • nodeJsVersion: 20.19.0
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: enterprise (production)
  • consumerId: b0c35e76-5e87-46e3-b4aa-9260826a2bc5

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (windows nt 10.0; win64; x64) applewebkit/537.36 (khtml, like gecko) chrome/137.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-06-18T05:46:15.178Z
[/details]

Information on your n8n setup

  • **n8n version:1.93.0
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker):
  • **Operating system:windows