Gemini API: 403 PERMISSION_DENIED, "Your project has been denied access. Please contact support" Error

Hello, I’m a Moroccan developper located in Morocco,

I am facing a dead-end with a brand new personal project and API key. I keep getting a persistent `403 PERMISSION_DENIED` error while calling the Gemini API via the official Python SDK (`google-genai`).

The exact error string returned is: “Your project has been denied access. Please contact support.”

To check I decided to try other text models (the lightest possible), but I kept getting the same error.

I tried creating multiple new API keys and starting a fresh project from scratch, but all new keys are immediately blocked with the same 403 error.

My Environment & Verification Steps: SDK Used: `google-genai` (Latest version)

Models Targeted: ‘gemini-3.1-flash-tts-preview’ and ‘gemini-2.5-flash-preview-tts’

Google Cloud Project ID: my-voxe

API Key Status : Created directly inside Google Cloud Console and successfully bound to a service account (`ais-gemini-key-…`) as required by the new security policy.

API Library: `Generative Language API` / `Gemini API` is explicitly Enabled on this project.

Raw JSON Error Log:

{
“error”: {
“code”: 403,
“message”: “Your project has been denied access. Please contact support.”,
“status”: “PERMISSION_DENIED”
}
}

Since this is a clean, personal project with no malicious activity, this looks like an automatic anti-abuse flag or shadow-ban triggered by mistake.

Could a Google community manager or engineer please look into my Project ID and help me restore access? Thanks in advance.

Hello @Adn ,

This is very likely caused by an issue which is currently only visible in Google Cloud console. We’re working to move visibility of this into AI Studio. To resolve this: Open the Cloud console & select your project, you should see a banner which explains the issue / may allow you to appeal