Gemini API HTTP 403 PERMISSION_DENIED — My Project Is Still Restricted

Hello Google AI Developers Community,

I am developing an educational prototype called “AI-Based Inclusive Classroom Assistant” to provide personalized learning support and feedback to students.

My Google AI Studio project shows “Free tier unavailable” and “Restricted.” When I test the Gemini API, I receive this error:

HTTP 403: “Your project has been denied access. Please contact support.”

I have enabled 2-Step Verification on my Google account, but the project remains restricted.

Could someone please explain why my project has been restricted and advise whether it is eligible for free-tier Gemini API access?

I would like to test this educational prototype without enabling paid billing, if possible.

Thank you for your guidance.

Hello @kalaiselvi_A ,

Getting a 403 error and seeing “Free tier unavailable” next to your project indicates a flag has been placed on your account. Since you have already enabled 2-Step Verification, please try the below steps:

  1. Make sure the model you are calling is available on the free tier: AI Studio Rate Limit
  2. Ensure you have completed age verification by navigating to Google Account Age Verification and verifying your date of birth in Google Account Personal Info.
  3. Once age verification is configured, retry your request or create a new API key in Google AI Studio.
  4. If this still does not restore access, you might want to consider adding prepayment credits in Google AI Studio and/or attaching a Google Cloud Billing account. Please note this will mean you lose your free tier quota.