API Error: Resource has been exhausted (e.g. check quota). #385
Labels
component:gemini 2.0
Issues/PR referencing gemini2 folder
status:awaiting response
Awaiting a response from the author
status:stale
Issue/PR is marked for closure due to inactivity
type:documentation
The documentation needs to be updated
Description of the bug:
Hello, I successfully used the Gemini-2.0-Flash API and utilized google_search according to the case study. It's possible that I used it quite a few times during the testing process, perhaps dozens or even a hundred times, and then I received an API Error: Resource has been exhausted (e.g. check quota). However, when I checked the API usage on Google Cloud, I didn't find any overages or restrictions. The Generative Language API is working normally. I can access Gemini-2.0 without issues, but the search function is not working. Where can I see the usage of v1alpha API?
By the way, is it ok to use [Custom Search API] instead of client = genai.Client(http_options={'api_version': 'v1alpha'})?
Thank you!
Actual vs expected behavior:
No response
Any other information you'd like to share?
No response
The text was updated successfully, but these errors were encountered: