Hello Google Gemini API Support Team,
I’m experiencing a 403 Forbidden error when calling the Gemini API from n8n.
Error: Your project has been denied access. Please contact support.
Project name: n8ntest
Model: gemini-3-flash-preview
I have confirmed that:
-
The Generative Language API is enabled.
-
The API key is restricted to Gemini API.
-
The API key has no application restrictions.
-
Google AI Studio displays the project as “Unavailable”.
Could you please review the project’s access status and advise how to restore Gemini API access?
Thank you.
Hello @Zainab_Fadhel ,
Getting a 403 API error response and / or seeing “Unavailable” next to your project in AI Studio indicates a flag has been placed on your account. To proceed:
If you’re on the free tier with no billing attached, please try the below steps:
-
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.
-
Ensure you have completed age verification by navigating to Google Account Age Verification and verifying date of birth in Google Account Personal Info.
-
Once age verification is configured, retry your request or create a new API key in Google AI Studio.
-
If completing these steps still does not restore access (or if using a model requiring a paid tier), you might want to consider adding prepayment credits directly in Google AI Studio and/ or attaching a Google Cloud Billing account in the Google Cloud Console. Please note this will mean you lose your free tier quota.