YouTube upload is failing

Describe the problem/error/question

I want to upload a Video from Google Drive to YouTube. I get the file downloaded and into a binary field but the upload in the YouTube node is failing with an “internal error” message. I see videos getting added to the YT channel but are stuck in “being processed” mode.

Please share your workflow

Share the output returned by the last node

“Problem in node ‘YouTube‘
Internal error”

Information on your n8n setup

  • n8n version: 1.49
  • Database (default: SQLite): SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker
  • Operating system: Ubuntu 22.04

Hi @Jan_Koch

Cannot see anything wrong with your workflow at first glance.

What do you mean by videos “are stuck in being processed mode” ?
Could you share a screenshot of the error you’re seeing? Or if you have error logs that would be helpful too to see what they’re outputting.

Thanks!


It seems like the videos are not fully uploaded to YouTube, they are stuck in “processing mode” and do not show up.

When I start the workflow in n8n, I get this:

AxiosError: Request failed with status code 400 at settle (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/settle.js:19:12) at IncomingMessage.handleStreamEnd (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/adapters/http.js:589:11) at IncomingMessage.emit (node:events:531:35) at IncomingMessage.emit (node:domain:488:12) at endReadableNT (node:internal/streams/readable:1696:12) at processTicksAndRejections (node:internal/process/task_queues:82:21) at Axios.request (/usr/local/lib/node_modules/n8n/node_modules/axios/lib/core/Axios.js:45:41) at processTicksAndRejections (node:internal/process/task_queues:95:5) at Object.httpRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:762:18) at Object.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/YouTube/YouTube.node.js:610:50) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:725:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:673:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1085:20

Can you try setting N8N_DEFAULT_BINARY_DATA_MODE to filesystem if you have not already done it?

1 Like

That fixed it! Thank you so much, Jon :slight_smile: :partying_face:

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.