Hi everyone,
I’m currently running a self-hosted instance of n8n on Hetzner and trying to upload videos to YouTube via the built-in YouTube node, as well as via manual HTTP requests using the resumable upload API — but no matter what I try, I keep running into the same 400 error.
What I tried
- Google Drive route:
-
Uploaded a video to Google Drive
-
Used the Google Drive node in n8n to download it
-
Passed it into the YouTube node → 400 error
- Web-hosted file:
-
Hosted the MP4 file on my own webserver
-
Used the HTTP Request node to download the file
-
Tried uploading it directly via YouTube node and also via resumable API → same result
- Configuration
-
I followed the advice from this video and set (Video: https://youtu.be/NJs7wreqjDY?si=YPLixrId1--rBU7r):
-
N8N_DEFAULT_BINARY_DATA_MODE=filesystem
- HTTP-Request
I even created a custom OAuth2 API credential and constructed the HTTP Request manually following the official YouTube Resumable Upload Docs with https://www.googleapis.com/auth/youtube.upload as the scope
Still no luck
Has anyone managed to get YouTube video upload working from a self-hosted n8n setup?
Any help or working examples would be greatly appreciated
I already tried all free youtube-upload-templates but all workflows have the same issue.
Thanks!
Sebastian
Here is an example what I tried: