Hello,
I am trying to use the Gemini API for a student internship project called AI Cognitive Alarm.
I created a new Google AI Studio project and API key and integrated the Gemini API using the Google GenAI Node.js SDK.
My request successfully reaches my Node.js backend, but when the backend calls Gemini, I receive:
403 PERMISSION_DENIED: Your project has been denied access. Please contact support.
Project name: AI Cognitive Alarm Test
Project ID: gen-lang-client-07322512..
I have also checked the recent API-key restriction requirements. My API key is restricted to the Gemini API.
Could someone please advise whether this project needs to be reviewed or whether there is another way to obtain Gemini API access?
Thank you.
Hello @Narasimha09 ,
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:
-
If you’re on the free tier with no billing attached, you should consider setting up billing. In most cases this is enough to clear any flag on your account. Please note this will mean you lose your free tier quota. You should also see a banner in AI studio prompting you to set up billing.
-
If you are on a paid tier, check for banners / error callouts in the AI Studio Projects page & the Billing page. Mostly these flags cause visible banners or other errors on these pages with concrete next steps / appeal links. You can also check the email address associated with your project for information on next steps.