I keep getting the following error only when prompting with videos (it works perfectly with text and images, I use Genkit):
HTTP error downloading media ‘https://generativelanguage.googleapis.com/v1beta/files/uu320af6jeh8’: {
“error”: {
“code”: 403,
“message”: “Method doesn’t allow unregistered callers (callers without established identity). Please use API Key or other form of API consumer identity to call this API.”,
“status”: “PERMISSION_DENIED”
}
}
This shows you’re not passing the API Key for your request. Would be great if you shared the code you’re using to make this particular request if it’s still failing