Need help with final step of my Autopilot Youtube Channel

I was able to fully automate video creation using Video API Hub Node and post that to my youtube account , i am facing auth issues after few days ,

Here is my youtube channel and workflow

What is the error message (if any)?
Auth issue with youtube posting

Please share your workflow

Share the output returned by the last node

Authentication Issue 401

1 Like

@Lucas_Bennett the 401 after a few days is yoru Google Cloud OAuth consent screen still being in Testing mode, refresh tokens get revoked every 7 days in that state. Go to console.cloud.google.com → APIs & Services → OAuth consent screen and hit Publish App to move it to Production, then reconnect the YouTube credential in n8n once and it’ll stop dying.

edit: forgot to mention — make sure your n8n version is up to date

1 Like

does it need any approval ?

1 Like

Yea, you’ll need to auth in browser to create a token @Lucas_Bennett

1 Like

Hey @Lucas_Bennett, love the concept - a fully autopilot YouTube channel is super cool!

To answer your question about approval: for basic YouTube API usage (uploading videos to your own channel), you generally don’t need Google’s full OAuth app verification. But you do need to make sure you do these steps properly:

Step 1: Publish your OAuth app (no review needed for personal use)
In Google Cloud Console, go to APIs & Services > OAuth consent screen. Change from “Testing” to “Production” and click Save. You don’t need a full review for this if the app is just for your own YouTube account.

Step 2: Re-authenticate in n8n
After publishing, go to your YouTube credential in n8n, click Edit, and re-do the OAuth flow (click the “Sign in with Google” button). This generates a new refresh token that won’t expire every 7 days.

Step 3: Make sure YouTube Data API v3 is enabled
In Google Cloud Console > APIs & Services > Library, search for “YouTube Data API v3” and confirm it’s enabled for your project.

Once you do all three steps, the auth should stay valid long-term. Let us know if it works!