Received a "Quota Exceeded" error with Gemini? Here’s how to fix it!
If you are using the Gemini actions in your Zenphi flows and suddenly see an error message like the one below, it has a very easy fix:
* Quota exceeded for metric: generativelanguage.googleapis.com/generate_requests_per_model_per_day, limit: 250, model: gemini-3.1-pro
What does this mean?
This error indicates that you have reached the usage limit set by Google for your specific API key or Google Cloud project.
Key points to remember:
Zenphi is simply passing the message back from Google. Your Google AI quota is managed separately and directly with Google.
The "250" Limit: For many newer models (like Gemini 3.1 Pro), Google sets a strict daily limit on the Free Tier and even some early Paid Tiers. To increase these limits, you must enable or upgrade your billing directly in the Google AI Studio or the Google Cloud Console.
How to fix it:
Check your Billing: Ensure you have a valid billing account linked to the project where your API key was generated.
Monitor Usage: Head over to Google AI Studio Dashboard to see exactly how many requests you have left for the day. Daily quotas usually reset at midnight Pacific Time (PT). If you’re still having issues, we suggest waiting a few hours and trying again.
Upgrade your Tier: To get past the 250-request limit, you may need to reach "Tier 2," which often requires a history of successful payments and a specific spend threshold.
Pro-Tip: If you need to keep your flow running and don't want to wait, try switching the model in your zenphi action to Gemini 1.5 Flash. It typically has much higher rate limits than the "Pro" models!