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.