continue
continue copied to clipboard
Error: Gemini 2.0 Flash - Unknown error
Error Details
Model: Gemini 2.0 Flash Provider: gemini Status Code: N/A
Error Output
{"error":{"message":"{\n \"error\": {\n \"code\": 400,\n \"message\": \"API key not valid. Please pass a valid API key.\",\n \"status\": \"INVALID_ARGUMENT\",\n \"details\": [\n {\n \"@type\": \"type.googleapis.com/google.rpc.ErrorInfo\",\n \"reason\": \"API_KEY_INVALID\",\n \"domain\": \"googleapis.com\",\n \"metadata\": {\n \"service\": \"generativelanguage.googleapis.com\"\n }\n },\n {\n \"@type\": \"type.googleapis.com/google.rpc.LocalizedMessage\",\n \"locale\": \"en-US\",\n \"message\": \"API key not valid. Please pass a valid API key.\"\n }\n ]\n }\n}\n","code":400,"status":"Bad Request"}}
Additional Context Please add any additional context about the error here
Related issues:
- #10217
- #10208
- #10186
- #9910
Hello, this error usually means the Gemini API key being used is not valid. You can verify your API key at https://aistudio.google.com/apikey and update your Continue configuration.
We receive a large volume of these issues, so closing for now. If you believe this is a bug on Continue's side (e.g. a valid key not being passed correctly), please open a new issue with more details about your setup.