Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Error: Resource has been exhausted (e.g. check quota). #385

Open
SeanFeng91 opened this issue Dec 27, 2024 · 0 comments
Open

API Error: Resource has been exhausted (e.g. check quota). #385

SeanFeng91 opened this issue Dec 27, 2024 · 0 comments

Comments

@SeanFeng91
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant