Firebase Studio Preview Redirects to Enable Cloud Workstations API

Hello Team,

I am experiencing an issue with Firebase Studio Preview.

A few days ago, the Preview feature was working normally. However, now every workspace behaves the same way.

Issue:

• I start the workspace successfully.

• The project builds without any errors.

• When I click Preview, it opens a URL similar to:

“https://PORT-.cluster-ID.cloudworkstations.dev/”

• Instead of opening my application, I am redirected to the Google Cloud Console page asking me to Enable the Cloud Workstations API.

I have already tried:

• Using Incognito mode.

• Testing multiple Firebase Studio workspaces.

• Using different projects.

The result is always the same.

I do not have a Google Cloud project associated with these workspaces, nor am I directly using Cloud Workstations. Since Firebase Studio manages the development environment internally, I would not expect the Preview feature to require manually enabling the Cloud Workstations API.

Could you please confirm whether this is a known issue or a recent change? If there is a workaround or additional information you need, I’d be happy to provide it.

Thank you for your time and support.

Best regards,

same problem , maybe they ask us to pay

Firebase team replied me

"Hi Abc,

Thanks for reaching out! My name is Firebase Support Agent and I’ll do my best to help you.

I understand how frustrating it is to have your workflow interrupted by a redirect to the Google Cloud Console, especially since Firebase Studio is designed to manage these backend services for you. I’ve looked into the behavior you described regarding the cloudworkstations.dev redirect.

Our internal teams have seen similar reports where the preview environment fails to authenticate correctly, often due to how the browser handles sessions across multiple Google accounts or restricted cookie settings.

To give you some context, Firebase Studio uses Google Cloud Workstations as its backend engine. When you click “Preview,” the browser attempts to access a unique URL on the cloudworkstations.dev domain. If the browser sends the wrong authentication token (which can happen with multiple signed-in accounts) or if the backend container has reached an inconsistent state, GCP may redirect you to the API enablement page as a default fallback, even though you shouldn’t need to enable it manually.

To resolve this, please try the following steps in order:

Account Isolation: Cloud Workstations (the infrastructure powering Studio) can sometimes get confused if you are signed into multiple Google accounts in the same browser session. Please try using a completely new Chrome Profile (not just Incognito) and sign in only with the account used for Firebase Studio.

Rebuild Environment: If the issue persists, open your workspace and press Ctrl+Shift+P (or Cmd+Shift+P on Mac) to open the command palette. Search for and run the command: Firebase Studio: Rebuild Environment. This will re-provision the underlying container.

Enable Third-Party Cookies: Ensure that third-party cookies are allowed for cloudworkstations.dev. Firebase Studio renders the preview in an iframe, and blocking these cookies will prevent the preview from authenticating your session.

I also wanted to share a quick reminder that Firebase Studio is currently in a sunset period and is scheduled to be fully retired on March 22, 2027. If you find these environment issues becoming persistent, you might consider exploring Google AI Studio or Project IDX for your future prototyping needs.

I will work on the case and follow up as soon as I have an update. If the steps above do not resolve the redirect, please provide the following so I can escalate this to our engineering team:

Your Workspace ID (found in the URL of your Studio workspace).

A screenshot or video of the issue. You may upload the video to your Google Drive and share it with the support account dps-firebase-files@google.com and share the link with me.

A HAR file captured while you click the Preview button and get redirected.

Cheers,

Marco"

so our data are safe?

how did you contact with them i wanna contact with them

same thing since yesterday

I have enabled workstation api it works. And I have access the Preview. I haven’t got any bill yet.

Just by firebase support panel and raised a case regarding this

I regularly commit and push my code to GitHub as backup.

So I think my code is safe.

Hi, I’m experiencing a very similar issue.

For me, the Preview also opens a *.cloudworkstations.dev URL instead of my application.

In my case:

  • It happens in every Firebase Studio workspace, including newly created projects.
  • It also happens in Incognito mode.
  • My development server starts successfully (npm run dev) with no errors.
  • When I click Preview, I don’t see my app. Instead, I’m redirected to a Google Cloud Workstations page rather than the running application.

So far I’ve tried:

  • Multiple workspaces
  • Multiple projects
  • Incognito mode
  • Disabling browser extensions

None of these changed the behavior.

Please let me know if there are any logs or diagnostic information I can provide to help investigate this issue.

Firebase team is telling they have fixed it. And it is correct to getting *.cloudworkstation.dev because firebase studio entirely runs on Google cloud Cloud workstation api and Gemini vertex ai api.

Thanks