Hi,
I am using the Gemini API with web search (grounding) enabled and encountering the following error:
“We’re sorry… your computer or network may be sending automated queries.”
Details:
- API: Gemini (via API key)
- Environment: (Local machine / Windows / .NET C# application)
- Use case: Backend processing (data extraction / automation)
- Request pattern: Multiple sequential API calls (not scraping manually)
- No API key or sensitive data is shared here
Observation:
The error seems to occur after multiple requests, possibly related to Google Search being triggered internally.
Questions:
- Is there a rate limit specific to web search grounding?
- Are there best practices to avoid triggering this automated query detection?
- Should web search be avoided for backend/batch use cases?
Any guidance would be appreciated.
Thanks.