Title: Error 400 with Upload Video to YouTube Node

Hello n8n Community,

Describe the problem/error/question

I’ve encountered an issue with the “Upload Video to YouTube” node and am reaching out for assistance. Despite ensuring that my video file plays correctly within n8n and can be uploaded directly to YouTube without any issues, attempting to upload through n8n results in a Request failed with status code 400 error. Below are the details:

Troubleshooting Steps Taken :

  • Confirmed that API credentials are correct and active.
  • Checked that all required fields for the YouTube API request are properly filled out.
  • Verified that the API quota for YouTube has not been exceeded.
  • Ensured the video file format and size are within YouTube’s allowed specifications.
  • Updated n8n to the latest version available.

The video file itself does not seem to be the issue, as it plays fine in n8n, and manual uploads to YouTube go through without any problems. I suspect there might be a specific issue with the node or its interaction with the YouTube API.

Has anyone else experienced this issue or have suggestions on how to resolve it? Is there any way to get more informations from the Youtube API? Could it be an API problem? Any insights or assistance would be greatly appreciated.

Thank you!

What is the error message (if any)?

ERROR: Request failed with status code 400
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:529:35)
    at IncomingMessage.emit (node:domain:489:12)
    at endReadableNT (node:internal/streams/readable:1368:12)
    at processTicksAndRejections (node:internal/process/task_queues:82:21)

Please share your workflow

  • n8n version: 1.26.0
  • Database: SQLite
  • n8n EXECUTIONS_PROCESS setting (default: own, main): own, main
  • Running n8n via Docker
  • Operating system: Linux

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Solution / Workarround:
Without the Youtube Node its working. I used 2 HTTP Request nodes, one for get the uploadurl and one to actually upload the video and that works just fine… Just wanned to leave this here so nobody else has to spend a day figuring this out haha :smiley:

1 Like

Hi! Can you share how you made the two requests, please? I have this error too, and not can make the requests work. Your help will be amazing.


Hi Matheus,

Hope this helps :slight_smile:

1 Like

You are my hero! Thank you very much!

Working perfectly! Thanks!

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