When i was using Visual Studio code , there is an extension called “codeBRT” , and when i enter Gemini API key as it request , i recieve :
“Failed to get response from Gemini Service: Error: [GoogleGenerativeAI Error]: Error fetching from https://generativelanguage.googleapis.com/v1beta/models/gemini-1.5-flash:streamGenerateContent?alt=sse: [403 Forbidden] 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.”
I wonder what may cause and what is the solution?
1 Like
Sure! Here are a few options:
- Thanks for the heads-up - I’ll check my API key setup.
- Sounds like an issue with authentication. Anyone else having this problem?
- I’m getting the same error. Let’s figure this out together.
Insert
Copy
Retry with Google Search
Good suggestion
Bad suggestion
Hi @dave, Welcome to the forum.
I tried installing the extension, and it worked with the Gemini experimental model but failed with the other models. Seems like there is a typo or a missing required field in their API request for the other models.