Google Gemini

Troubleshooting


Troubleshoot Google Gemini error messages and find the solution
Error:

Free tier not available


Cause:

Gemini API free tier is not available in your country. Please enable billing on your project in Google AI Studio.

Solution:

To use the Gemini API, you will need to setup a paid plan using Google AI Studio.

Error:

API key error


Cause:

The requesting API key is not correct.

Solution:

Ensure the API key used is correct, or generate a new one.

Error:

Permission denied


Cause:

Your API key doesn't have the required permissions.

Solution:

Check that your API key is set and has the right access.

Error:

Rate limit reached


Cause:

You've exceeded the rate limit.

Solution:

Ensure you're within the model's rate limits. Check your account rate limits.

Error:

Quota exceeded


Cause:

You have run out of credits.

Solution:

Ensure you're within the model's rate limits. Check your account rate limits.

Error:

Blocked due to safety


Cause:

Your request was blocked due to safety concerns. The content you provided may contain language or topics that violate Google safety guidelines.

Solution:

Please review and adjust your input to ensure it doesn't include potentially harmful, offensive, or inappropriate content. If you believe this is an error, you can try rephrasing your request.

Error:

Server error


Cause:

An unexpected error occurred on Google's side.

Solution:

Wait a bit and retry your request.

Error:

Server overloaded


Cause:

The service may be temporarily overloaded or down.

Solution:

Wait a bit and retry your request.


See Google Gemini Error codes

© 2024 Kerlig™. All rights reserved.