Hello,
I’m having an issue with a Google Cloud / Firebase project that uses Firebase AI Logic with the Gemini Developer API.
My web app is hosted on Firebase Hosting and uses Firebase App Check with reCAPTCHA Enterprise. App Check is correctly registered and enforced for Firebase AI Logic.
Initially, my application was returning this error:
401 Firebase App Check token is invalid
I reviewed and updated the integration, including the Firebase JavaScript SDK, App Check configuration, token refresh, and limited-use App Check tokens. After those changes, the App Check error was resolved.
However, the application now returns:
403 Your project has been denied access. Please contact support.
In Google AI Studio, the project appears with the status:
Restricted
Project ID:
meu-estudo-ses-rj
I contacted Firebase Support and they investigated the case. They confirmed that the current 403 error is coming from the Gemini Developer API backend, not from Firebase itself, and that Firebase Support does not have visibility or the ability to remove this restriction.
They also informed me that this usually indicates that the account/project has been flagged and suggested that I contact the Gemini Developer API team for further assistance.
The project is currently on the free tier and no billing profile is linked.
Could someone from the Gemini Developer API team please help me understand why this project was restricted and whether it can be manually reviewed or restored?
I would prefer to keep the project on the free tier if possible.
I can provide additional technical details privately if necessary.
Thank you for your help.