SDK works well with videos which are published but the videos which are unlisted, this does not works well
Error Message:
node_modules/@google/generative-ai/dist/index.js:434
throw new GoogleGenerativeAIFetchError(Error fetching from ${url.toString()}: [${response.status} ${response.statusText}] ${message}
, response.status, response.statusText, errorDetails);
^
Hi @pushkarydv, Welcome to forum!!
Were you able to summarize unlisted youtube video earlier and now getting the issue??
Nope issue is still there
Just the error chnaged
Error: GoogleGenerativeAIFetchError: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-2.0-flash:generateContent: [500 Internal Server Error] Internal error encountered.
tried making video public and that works, i guess it’s just for unlisted type fetching internally
Hey @pushkarydv,
Internal error is server side error that will resolve by itself.
Private or unlisted videos are not supported, you can check the limitations in the doc.
Thanks