Google AI Studio Starter Tier — Firebase Token Service API Permission Denied

Title: Google AI Studio Starter Tier — Firebase Token Service API Permission Denied

Hello Google AI Studio Support Team,

I am experiencing a Firebase Authentication and Firestore connectivity issue with my Bonsack application, built and published using Google AI Studio.

Google Cloud Project ID: thematic-geography-n9…

Google Cloud Project Number: 66787593…

Published application: https:/ bonsack.ai.studio

The application builds successfully, but Firebase Authentication cannot retrieve the required token, resulting in the following errors:

  • auth/token-service-api-has-not-been-used-in-project-66787593664-before-or-it-is-disabled
  • Failed to get document because the client is offline
  • Missing required permission: serviceusage.services.enable
  • Missing required permission: resourcemanager.projects.setIamPolicy

When I attempt to enable securetoken.googleapis.com in Google Cloud Console, I receive a permission-denied message.

My account has Firebase User and other limited IAM roles, but does not have permission to enable the required API.

I would appreciate assistance with the following:

  1. Confirm whether this is a limitation of Google AI Studio-managed Starter Tier projects.
  2. Enable the required Token Service API, if supported.
  3. Restore Firebase Authentication and Firestore connectivity without recreating the application.
  4. Explain how I can securely use Firebase with AI Studio without upgrading to paid Google Cloud billing.

I would prefer to remain on the free Starter Tier if possible.

Please advise on the supported solution.

Thank you.

Hello @Abdullah_Omar ,

Starter Tier projects are Google-managed, so additional APIs like securetoken.googleapis.com cannot be enabled directly while on the Starter Tier.

To keep your existing application, Firebase Authentication setup, and Firestore data, please try the below steps:

We have made some changes, so this issue should now be resolved without upgrading your project or linking a Cloud Billing account. Could you please start a new chat in your app, try again, and let us know if the issue still exists?