Subject: Gemini API returns 403 PERMISSION_DENIED

Hello,

My Gemini API requests return:

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

Project ID: personal-ai-agent-5059..

Checks completed:

  • Generative Language API enabled
  • API key valid
  • GET /v1beta/models returns 200
  • generateContent returns 403
  • Small personal AI assistant project
  • Low usage

Please help review whether this project has an access restriction.

Thank you.

Hello @AI_For_business ,
Access to the free tier for project personal-ai-agent-50... is restricted by automated account verification checks.

Next steps:

Please ensure that you’ve completed Phone Verification and turned on 2-Step Verification (2SV) on the Google Account associated with your project. Once verified, retry your request or create a new API key in Google AI Studio.

If verifying your account does not restore access (or if using a model requiring a paid tier), then as Mahesh suggested, you might want to add prepayment credits directly in Google AI Studio or attach a Google Cloud Billing account in the Google Cloud Console.