Firebase AI Logic 403 Access Denied on Project: studypilot-

Hello,

I am building a web application called StudyPilot, and I am hitting a hard 403 Forbidden restriction when trying to use the client-side Firebase AI SDK to generate study questions.

The console returns this exact error message:
Uncaught (in promise) FirebaseError: AI: Error fetching from https://googleapis.com: [403 ] Your project has been denied access. Please contact support. (AI/fetch-error)

Project Details:

  • Project ID: studypilot-hq
  • SDK Used: firebase/ai (Modular Web SDK)
  • Model: gemini-3.7-flash

Troubleshooting Already Completed:

  1. Verified that the Firebase AI Logic API is fully enabled in the Google Cloud Console.
  2. Verified that the Web API key has no API restrictions applied to it.
  3. Verified that App Check is implemented and active.

It looks like my fresh project has accidentally triggered an automated backend safety restriction. Could a community manager or engineer please review my project ID (studypilot-..) and help lift this?

Thank you!

Hi @StudyPilot
Please try the below steps:

  1. Check Model Availability & Rate Limits:

    • Ensure that the model you are requesting is available on your current plan. For example, not all models are available on the free tier. You can verify model availability, quotas, and limits on the AI Studio Rate Limit dashboard.
  2. Verify your Google Account:

  3. Upgrade to a Paid Tier:

    • If verifying your account does not restore access (or if using a model requiring a paid tier), you can unlock access by adding prepayment credits directly in Google AI Studio or attaching a Google Cloud Billing account in the Google Cloud Console.