I have problem using youtube upload node

Hi, sorry, it seems I have the same problem that others have but can’t do it for myself, I have the same problem as in this topic YouTube upload is failing
The videos are uploaded in draft mode, I guess it is not a valid file for youtube input, I have actually read and re-read many topics on the community about this problem
Here is the configuration added in my .env file

Describe the problem/error/question

Request failed with status code 400

What is the error message (if any)?

Thông báo lỗi ở node youtube:

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:599:11) at IncomingMessage.emit (node:events:531:35) 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 invokeAxios (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:586:16) at Object.httpRequest (/usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/NodeExecuteFunctions.js:771:20) at ExecuteContext.execute (/usr/local/lib/node_modules/n8n/node_modules/n8n-nodes-base/dist/nodes/Google/YouTube/YouTube.node.js:616:50) at Workflow.runNode (/usr/local/lib/node_modules/n8n/node_modules/n8n-workflow/dist/Workflow.js:741:19) at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:724:51 at /usr/local/lib/node_modules/n8n/node_modules/n8n-core/dist/WorkflowExecute.js:1155:20

Please share your workflow

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.72.1
  • Database (default: SQLite):
  • n8n EXECUTIONS_PROCESS setting (default: own, main):
  • Running n8n via (Docker,):
  • Operating system: Docker on Ubuntu 22.04

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:

Is there anyone out there, help me!

Hey @KimClub

Are you saying that the videos are not uploaded at all? Have you checked that your credentials are working correctly? Could also be worth checking your GCP quota.

i had exactly the same problem, i remember it worked with the n8n cloud version, but not on my own server. I found this solution here and it worked for me! Title: Error 400 with Upload Video to YouTube Node - #7 by Matheus_Terra

Tôi đang sử dụng các node http để thực hiện việc đăng video lên youtube!

Hi Kim,

just seen your 400 Youtube error problem.

check these instructions:

Step 3.2: Starting n8n in Docker you basically have to add:

-e N8N_DEFAULT_BINARY_DATA_MODE="filesystem" \

to your instance then the native upload function works.

Thanks you, this is one of the important operations, and everyone needs to pay attention that we have to reset docker if you use docker-compose to run n8n