Request to lift Gemini API PERMISSION_DENIED (Your project has been denied access)

Subject: Request to Resolve Gemini API PERMISSION_DENIED Error (“Your project has been denied access”)

Hello,

I am trying to use the Gemini API within a Google Workspace environment, but I am encountering the following error when sending requests to the API:

HTTP Status:
403

error.status:
PERMISSION_DENIED

error.message:
Your project has been denied access. Please contact support.

I have successfully retrieved and loaded the Gemini API key, and requests from Apps Script are being sent properly.

I also created a separate, new Google Cloud project, generated a new Gemini API key, and tested it, but the exact same 403 error occurred.

Therefore, I suspect this is not an issue with an individual API key, but rather that usage restrictions for the Gemini API may have been applied to our Google Workspace account or organization.

Environment Details:
・Google Workspace Domain: tanpopoen .net
・Service: Google Apps Script
・API: Gemini API
・Model: gemini-3.5-flash-lite
・Google AI Studio: Enabled in the Admin Console
・API Key: Successfully generated in Google AI Studio
・Same behavior confirmed across multiple Google Cloud projects

Our use case is an internal system that uses the Gemini API to categorize events registered in a nursery school’s Google Calendar.

Could you please check the cause of this access denial to the Gemini API and, if possible, lift the restriction?

Additionally, please let us know if there are any additional settings, identity verification steps, or terms of service agreements required on our end.

Thank you for your assistance.

Please try the below steps:

  1. Check Model Availability & Rate Limits:

    • Ensure that the model you are requesting is available on your current plan. For example, not all models are available on the free tier. You can verify model availability, quotas, and limits on the AI Studio Rate Limit dashboard.
  2. Verify your Google Account:

  3. Upgrade to a Paid Tier:

    • If verifying your account does not restore access (or if using a model requiring a paid tier), you can unlock access by adding prepayment credits directly in Google AI Studio or attaching a Google Cloud Billing account in the Google Cloud Console.