403 PERMISSION_DENIED on generateContent while models endpoint works

Subject: 403 PERMISSION_DENIED on generateContent while models endpoint works

Hello Google AI team,

I am getting the following error when calling Gemini generateContent API:

403 PERMISSION_DENIED

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

What I tested:

  • Created a brand new Google account.

  • Created a brand new Google Cloud project.

  • Enabled Gemini API / Generative Language API.

  • Created a new API key from Google AI Studio.

  • GET /v1beta/models works successfully.

  • POST /v1beta/models/gemini-2.5-flash:generateContent returns 403.

  • Same error occurs from Laravel, PowerShell, and direct REST requests.

Project ID: pharmacymanagmen…

Could you please review my project access / entitlement status?

Thank you.

@Abdulrahman_Hamed, Getting a 403 API error response and / or seeing “Unavailable” next to your project in AI audio indicates a flag has been placed on your account. To proceed:

  1. Check for banners / error callouts in the AI Studio Projects page & the Billing page.

  2. If the issue isn’t clear from the above, contact Cloud Billing Support.