Can anyone help me fix this error, it happens on a webhook trigger, seems a bit odd:
{
"errorMessage": "Internal error",
"errorDetails": {},
"n8nDetails": {
"n8nVersion": "1.50.1 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"Error: ENOENT: no such file or directory, stat '/tmp/6376f5b5d07f44768e2008db4'",
" at stat (node:internal/fs/promises:1032:18)",
" at BinaryDataService.copyBinaryFile (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/BinaryData/BinaryData.service.js:68:30)",
" at copyBinaryFile (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:856:12)",
" at Object.copyBinaryFile (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:2180:61)",
" at Webhook.handleFormData (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Webhook/Webhook.node.js:330:57)",
" at Webhook.webhook (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Webhook/Webhook.node.js:190:20)",
" at Workflow.runWebhook (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:661:15)",
" at Object.executeWebhook (/usr/local/lib/node_modules/n8n/dist/WebhookHelpers.js:220:33)"
]
}
}
I don’t have the full data but I can tell you that my client is sending a post request with the following text in the body that causes it to fail, note the text is being json encoded before sending:
"skip the lesson part for ## 模块 1: 解剖学与生理学
子模块 1.2: 组织损伤与修复
课程 3: 常见病理及其对组织的影响
I only need the review questions and answer for this lesson.
please output in the following format
Review Questions with Scene Suggestions
以下哪种疾病属于炎症性疾病?(Which of the following is an inflammatory disease?)
Considering that the error is happening in Webhook.handleFormData, the Content-Type header is set to multipart/form-data, and not application/json.
maybe check with them the exact format of the payload, and make sure that the format matches the Content-Type header being sent.
I’ve just checked the payload and set correctly, it works with English but not with Chinese, the node doesn’t seem to want to handle it, even if I set Content-Type: application/json; charset=utf-8