PERMISSION_DENIED

The API key regenerated in Android Studio → Settings → Tools → Model Providers → Google AI Studio → Get a Gemini API key is causing an error when used in the Agent: “Model query failed: PERMISSION_DENIED: Your account is not eligible for this service at this time.” Please let me know the cause. Thank you.

Hello, could you please elaborate on the “Permission Denied” error you are encountering? For example, are you unable to create a new API key, or are you receiving this error during a specific API call? Please share a screenshot of the error if possible so we can investigate this further.