Skip to content

[Bug]: Error while using Caption "Bad request - please check your parameters Cannot set attribute 'src' directly #162

Description

@KhaledElzarw

Describe the bug

I'm using n8n workflow trying to add captions to my videos. I have n8n, ncatoolkit, minio, ngrok and baserow hosted locally on docker on my pc. The setup used to be working perfectly fine until I decided to move minio, ngrok, and baserow to my raspberry pi to free up my RAM space and I upgraded the RAM later. My minio bucket is set to public

My_workflow.json

ever since I did that, other endpoints work fine but whenever I add captions I get
"Bad request - please check your parameters
Cannot set attribute 'src' directly. Use '_unsafe_update_src()' and manually clear .hash of all callersinstead.
{
"errorMessage": "Bad request - please check your parameters",
"errorDescription": "Cannot set attribute 'src' directly. Use '_unsafe_update_src()' and manually clear .hash of all callersinstead.",
"errorDetails": {
"rawErrorMessage": [
"400 - "{\"build_number\":184,\"code\":400,\"id\":null,\"job_id\":\"25428686-0a5e-41a6-bc74-2b962333ee45\",\"message\":{\"error\":\"Cannot set attribute 'src' directly. Use '_unsafe_update_src()' and manually clear .hash of all callersinstead.\"},\"pid\":9,\"queue_id\":129391764619952,\"queue_length\":0,\"queue_time\":0,\"response\":null,\"run_time\":6.056,\"total_time\":6.056}\n""
],
"httpCode": "400"
},
"n8nDetails": {
"nodeName": "Create Captions1",
"nodeType": "n8n-nodes-base.httpRequest",
"nodeVersion": 4.2,
"itemIndex": 0,
"time": "12/06/2025, 12:48:06 AM",
"n8nVersion": "1.93.0 (Self Hosted)",
"binaryDataMode": "default",
"stackTrace": [
"NodeApiError: Bad request - please check your parameters",
" 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"
]
}
}"

Reproduction Steps

Added a set node to stringify the variable before the caption node

I tried minimizing the payload to
{
"video_url": "http://host.docker.internal:9000/nca-toolkit/d222a852-dcdd-47a7-8b54-77a0a5647688_output_0.mp4"
}

Expected behavior

add captions to the video

Screenshots and relevant files

No response

Platform

Local

Would you like to work on this issue?

Yes

Checklist

  • I have searched the open issues for duplicates.
  • I have shown the entire traceback, if possible.

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions