A2UI
A2UI copied to clipboard
Restaurant Finder Demo: Gemini API Quota "0" Error in Europe-West1 (Turkey)
Hi ,
I am trying to run the Restaurant Finder agent sample locally following the instructions in the README. However, I am encountering a persistent RESOURCE_EXHAUSTED error, specifically related to regional quotas, even though I created a fresh API Key from Google AI Studio.
Environment:
- OS: Windows
- Region: Turkey (Europe-West1)
- Model: Tried with default (
gemini-2.5-flash) andgemini-1.5-flash.
The Issue:
When running uv run . for the agent, the request fails with a 429 status code. The error details indicate that the quota limit value is "0" for this region.
Error Log snippet:
"error": {
"code": 429,
"message": "Quota exceeded for quota metric 'Generate Content API requests per minute' ...",
"status": "RESOURCE_EXHAUSTED",
"details": [
{
"reason": "RATE_LIMIT_EXCEEDED",
"metadata": {
"quota_location": "europe-west1",
"quota_limit_value": "0"
}
}
]
}
Steps Taken:
Created a new API key via Google AI Studio.
Exported the key in the terminal.
Tried changing the model in agent.py to gemini-1.5-flash, but the issue persists with the same "quota_limit_value: 0" error.