I’m trying to add a YouTube node to my workflow, and I successfully created the OAuth2 Client ID. I enter everything properly, and it says “Account connected” with a green checkmark in the YouTube node under connection.
However, when I execute the node, it says “Forbidden - perhaps check your credentials?”
Help! I can’t get much done without this node working.
What is the error message (if any)?
Forbidden - perhaps check your credentials
Please share your workflow
(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)
I completely understand how frustrating this must be for you.
Could you please share a screenshot of the error you’re encountering? I know you already mentioned the exact error above, but seeing a visual might help us better understand the issue.
Also, based on the setup you’ve done so far…and from the workflow you attached — it looks like instead of the current node, you need to add the YouTube Tool to the agent.
I’ve tried the same setup on my side, and it’s working fine here.
Sharing my workflow below in case it’s helpful for you.
But you’re still facing issues related to credentials, I tried searching for the same problem and found that a few people have experienced similar issues…especially with Google products. However, I couldn’t find any clear solution or explanation for what exactly fixed it in their cases.
That said, I genuinely want to dig deeper and understand why this is happening. Feel free to connect with me anytime on Google Meet…I’ll do my best to help you in any way I can.
Maybe I should describe exactly what I’m trying to do.
The YouTube failure left me unsure how to proceed, but you might have a better idea of how to set this up if I describe the whole workflow I’d like.
What I want to do is transcribe every video in my YouTube channel, and use that transcription database (preferably stored in my Airtable) for the AI chat bot to point users in the correct direction for a video that’ll solve their problem.
We have over 3,000 videos (plus more in our Vimeo account that our paid users can access) on our YouTube channel for it to pull from. So this would involve A) pulling transcripts of all videos already on the channel, B) a trigger to pull new videos uploaded and transcribe them for the database, and C) the already functional (but fairly useless) chatbot that I created (all it does right now is pull data from the titles of our videos on Youtube to answer questions).
Happy to know that your finally figured out why Youtube API was not working for you!
Just read your detailed description, regarding what you need to do with Agent…
Here is my take:-
First of all we need to create a workflow, that will fetch the youtube videos from your youtube channel
Once we get the list of youtube videos, will pass each of them through the loop.
– Inside loop first will fetch the transcription of the video
– Will generate the embeddings of the text and then need to store the embeddings in the vector store.
[You mentioned about the Airtable, but you cannot do that for this usecase we need different type of database called vector database]
This type of databases are used to understand the text and based on that providing the answers to user, exactly the way you wanted…
So first it should run the workflow in bulk for all the 3K+ videos you have on your channel…and will prepare the vector store…
Once vector store is ready, than our agent will able to perform the search based on youtube video trancription and can help users to answer there query, along with the youtube video url or any other metadata…
Once this is set for future videos, you can schedule the workflow to run , the moment you’ll upload the video…
So this workflow will run, take the youtube video, transcribe it, store in vector store and is ready to answer user query on latest youtube video…
Now if you’ll ask me which tools you can use, so here it is:-
For transcription: AssemblyAI
For vector store : Supabase, pine cone , quadrant…
and yes in order to store all the list of youtube videos you can definitely store that in Airtable..1
I have just realised, I wrote a really big message…stopping now!
Hope this will help you to move forward in right direction.