Stay organized with collectionsSave and categorize content based on your preferences.
Firebase Studiogeneral
How do I download my files fromFirebase Studio?
To download your files as a zip file:
Right-click on any directory in the Explorer pane and selectZip and Download.
To download everything in your project directory:
SelectFile > Open Folder.
Accept the default/home/userdirectory.
After the files load, right-click your working directory and selectZip and Download. If using
theApp Prototyping agent, your working directory will bestudio. If
using a template or uploaded project, this will be your project name.
When prompted to rebuild the environment, clickCancel.
After your download completes, re-open your working directory from theFilemenu to move back into your workspace.
Third-party cookies aren't enabled.
Before you get started, you might need to enable third-party cookies for your
browser.Firebase Studiorequires third-party cookies in most browsers
to authenticate workspaces.
Click the visibility icon in the address barvisibility_offto open theTracking
Protectionpanel. Turn on theThird-party cookiessetting to
temporarily allow third-party cookies. This enables cookies onFirebase Studiofor 90 days.
Click the visibility icon in the address barvisibility_offto open theTracking
Protectionpanel. Turn on theThird-party cookiessetting to
temporarily allow third-party cookies. This enables cookies onFirebase Studiofor 90 days.
You don't need to enable third-party cookies for Brave. OpenFirebase Studio.
Why doesFirebase Studioneed
third-party (3P) cookies enabled?
Firebase Studioneeds 3P cookies enabled since we render an iframe from
one domain (a subdomain ofcloudworkstations.dev) on another domain
(studio.firebase.google.com), and 3P cookies enable secure cross-origin
communication.
While opening a workspace, the messageUnable to forward your request to backend. Couldn't
connect to a server on port 80appears.
Wait approximately five seconds and refresh the page.
My preview doesn't load, but I
can't find any issues in code. How can I restartFirebase Studio?
IfFirebase Studioisn't refreshing properly (typically as a result of major
refactors, or changes to your environmentdev.nixfile), open the command
palette
(Cmd+Shift+Pon Mac orCtrl+Shift+Pon ChromeOS, Windows, or
Linux) and run theHard Restartcommand. If that doesn't work,
try running theRebuild Environmentcommand.
My workspace is not
responsive, all I see is a blank screen when it loads
If your workspace is not responding, you can try restarting the VM. To do this:
FromFirebase Studio, click theMore(more_horiz) menu,
then selectRestart.
When prompted, clickRestartagain.
Re-open your workspace.
While creating a workspace, I see a
message,Whoops...We need to start a new VM, and the UI hangs after
that.
Firebase Studiomaintains a warm pool of VMs used to provision
workspaces on demand. When the pool runs low, the workspaces are
provisioned after a new virtual machine is started. The process can take
time (sometimes up to five minutes) but eventually succeeds.
[Errno 28] No space left on
device
You might encounter this message if the disk is full. TheFirebase Studioworkspace provides:
When
creating a workspace, I receivean internal error occurred.
In most cases of internal errors during workspace provisioning, refreshing the
page after a minute or so should get you past the error and into the workspace.
How many workspaces can I
create?
TheFirebase Studiono-cost plan is limited to three workspaces per user.
You can increase the number of workspaces you can create up to 10 by joining
theGoogle Developer
Program.
To upgrade to 30 workspaces, subscribe to theGoogle Developer Premium
Program.
How do I submit a feature
request or feedback on an issue I encountered?
If you encounter an issue while usingFirebase Studioor have a feature
request,contact Firebase
Support.
I was using a particular feature inFirebase Studiobut I can't find it anymore. Why was it removed?
Some of the features inFirebase Studioare experimental. We value your
feedback and actively use it to inform our current and planned feature set,
periodically removing features that aren't living up to your expectations
or our own. If there are features you'd like to see in your ideal version
ofFirebase Studio,send us
feedback. We want to hear from you!
Firebase StudioCode workspaces
My workspace loads, but the
emulator is blank.
We're actively improving the reliability of our cloud-based emulators. If a page
refresh does not fix the problem,report the issue to Firebase
Support.
Firebase Studioworkspaces
have a Flutter version that is incompatible with my project.
You can upgrade or downgrade the version of almost all pre-installed
software inside a workspace just as you would on your local machine (using
apt-get or brew). You can upgrade or downgrade software in your workspace,
but installed software is not persistent across sessions. We recommend
including all required packages in yourdev.nixfile.
We're actively working to improve Flutter version management inFirebase Studio.
I shared my workstation URL with
someone, but they cannot see it.
You can only share a workspace URL with users that have access to the workspace.
Users without permission see an error when trying to visit the URL. Be sure to
explicitlyshare the workspace with them.
When I share my workstation, what
can my collaborator see?
Users added to your workspace have complete access to the VM's entire file
system, which may contain sensitive files like private keys and access
tokens that are stored on disk.Only share your workspace with
people you trust.While this approach helps other users view the exact
state of your workspace, it means that they see everything on your
workspace.
I shared my workspace;
why can't my collaborator publish or monitor my app?
Users added to your workspace may not have permission to its underlying Firebase
project which powers the "App overview" publishing and monitoring features. To
grant them permission to your Firebase project, seePermissions and access to
Firebase
projects
Can I use frameworks thatFirebase Studiodoes not have a template for to build my application?
Yes! You cancustomize your environmentto
work with just about any framework or language inFirebase Studio.
What target directory should I
select when publishing a Flutter app toFirebase Hosting?
Choose thebuild/webdirectory. This directory should contain anindex.htmland all the static assets needed to render your web app after the app is built
successfully (viaflutter build web).
How can I set up my app's backend
on my workspace so that my frontend can communicate with it?
You can temporarily publicly open the TCP port your backend server is running on
to make it easier to develop your frontend and backend separately, across
different workspaces:
Start your backend or API server either manually in a terminal, or as part
of yourdev.nixfile's preview
configuration oronStartlifecycle hook.
Click theFirebase Studioicon in the activity bar (on the left by
default) to open theFirebase Studiopanel.
Expand theBackend portssection to see a list of running servers,
including their port number and process ID (PID).
Click theMake
publicicon (a lock) to the left of the port number.
Click theCopy URLicon to the right of the port number to copy its
fully-qualified URL.
You can now reference this URL directly (for example, with afetchcall)
from your frontend.
I closed my preview tab. How do
I bring it back?
Open the command palette usingCtrl+Shift+P(orCmd-Shift-Pon MacOS), then
selectFirebase Studio: Show Android previeworFirebase Studio: Show web preview.
What is Code OSS?
Code-Open Source Software (Code-OSS) is an open-source project that's the core
layer of VS Code. Code-OSS is available on GitHub under the standard MIT
License, and is where Microsoft develops the VS Code product.
How can I prevent my code
completions andGeminichat prompts from being used as training
data?
To block the use of yourprompts and responsesfor model training, do not
use theApp Prototyping agent, and do not use Gemini inFirebasewithinFirebase Studio. To block the use of yourcodefor model training,turn off code
completionandcode
indexingin yourFirebase Studiosettings.
Gemini
How do I view the request per
minute quota for my auto-generated Gemini API key?
You can view the quotas associated with your auto-generated API key on
theGenerative Language API Quotas and System Limitspage in theGoogle Cloudconsole.
I received an error about exceeding the
maximum number of tokens allowed
The amount of data (represented as "tokens") in your project is larger than the
maximum limit the model can accept. To resolve this error, adjust which files in
your codebase should be hidden fromGemini:
Include files or directoriesGeminishould ignore to reduce the
amount of data in your project. For example, you might want to add.next/and all subdirectories. The path should be relative to the directory that
contains the.aiexcludefile:
.next/
Try again to useGemini. If you still receive an error about
exceeding the
maximum number of tokens, try adding other large files or directories to the.aiexcludefile.
TheApp Prototyping agent
I was unable to create a project
When provisioning resources like aGemini APIkey or deploying toFirebase App Hosting, a project is automatically provisioned for you, based
on the name of yourFirebase Studioworkspace.
If you receive a "Failed to create a project" error:
If your Google Account is part of an organization, it's possible that you
don't have permission to createGoogle Cloudprojects or that you've met
your project quota limit. Contact your administrator for assistance or seeCreating and managing
projects.
If your Google Account is not part of an organization, you may have met yourGoogle Cloudproject quota limit.Request a quota
increase.
Why doesn't
theApp Prototyping agentoffer to fix my issue?
TheApp Prototyping agentdetects Next.js errors and offers to
fix them. If you receive an error and it doesn't offer to fix it, copy the
issue text and paste it into the chat.
For best results, provide more information about the nature of the issue,
if you have it.
For example, if you see a Firebase error likeProperty access is undefined
on object. for 'list' @ L6, which is indicative of an issue withCloud Firestorerules, preface the error with, "Can you help me fix thisCloud Firestorerules issue?"
I received a "Failed to publish app" error after publishing
Publishing failures will typically log actionable errors toCloud Buildlogs. To debug and resolve publish failures:
In theApp Detailspage (if minimized, clickPublishto reveal
it), clickView Details. This opensApp Hostingin theFirebaseconsole.
When the build is successful, clicknpm run startand open the localhost
link that's provided and test your app functionality. You can check the
terminal for any runtime errors.
If all is successful,Ctrl-Cin Terminal to stop the
production-packaged build running in your workspace, then try theApp Hostingpublishing flow again.
I'm unable to make changes using
theApp Prototyping agent
If theApp Prototyping agentdoesn't complete requested code changes,
reverts back to the App Blueprint step, or repeatedly returns an error saying
it hit a snag:
If the problem persists when you reopen your workspace, enter/clearin
the theApp Prototyping agentchat.
If the problem continues, you can try creating a branch from a previous
version of your app:
Switch toCodeview.
Open theSource Controltab.
In the Source Control Graph, right-click an earlier version >Create
Branch. Enter a name for your branch.
Return toPrototyper mode. If the agent still
doesn't respond or returns an error, try branching from an even earlier
version of your app.
To switch between branches you create (or return to the main branch),
click the branch name located in the bottom-left corner ofCodeview and choose the branch you want to use.
I'm having trouble prompting
theApp Prototyping agentto integrate Firebase services.
We're working on improving the process of integrating Firebase services
using theApp Prototyping agent. In the meantime, here are some common
challenges and tips.
Configuration file didn't update: In your prompt, include the specific
value that you want to update. The values can be found in theProject settingspage of the Firebase console. For example, you could prompt: "Update the
measurementId in my config with G-1234567890."
Authentication doesn't work when previewing my app: You may need to
include the preview URL as an authorized domain:
In Prototyper mode, clickopen_in_newOpen in New Window.
In the new preview window that opens, copy the URL. Note that the URL
should start with6000. If it starts with9000, update it before
proceeding to the next step.
In theAuthentication settingspage of the Firebase console, add the URL you copied in the previous
step to theAuthorized domains.
Note: This method only enables the default preview shown inPrototyper mode. The preview withinCodeview and the preview pop-out might not allow you to authenticate.
Firebase Security Rules weren't created:Geminican help
you write security rules, but can't yet automatically add them to your Firebase
project. You need to copy your Firebase rules into theFirebase consoleto publish them.
Unexpected interaction with the Firebase MCP server: If you set up theFirebase MCP server, you might
encounter unexpected behavior when usingPrototyper for
Firebase integrations. If this occurs, switch toCodeview
and prompt Gemini inFirebaseto integrate Firebase services.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-05 UTC."],[],[],null,[]]