This page provides troubleshooting help and answers to frequently-asked
questions about using
General troubleshooting/FAQ
How many experiments can I create and run?
You are allowed up to 300 total experiments per project (shared with Remote Config rollouts), which can include up to 24 running experiments and rollouts, with the rest as completed experiments:
-
If you reach the 300 total experiment limit, you cannot create a new
experiment until you delete one or more completed or stopped experiments or
rollouts:
-
To delete an experiment, use the Firebase console or the
firebase remoteconfig:experiments:deleteFirebase CLI command. Deleting an experiment doesn't require you to publish the Remote Config template. -
To delete a rollout, use the Firebase console or the
firebase remoteconfig:rollouts:deleteFirebase CLI command. Deleting a rollout requires you to publish the Remote Config template.
-
To delete an experiment, use the Firebase console or the
- If you reach the 24 running experiment and rollout limit, you must stop a running experiment or rollout and publish the Remote Config template before you can start a new one.
Why can't I view my experiments after unlinking and relinking my project to Google Analytics?
Linking to a different Google Analytics property will cause you to lose access to experiments created beforehand. To regain access to a previous experiment, re-link your project to the Google Analytics property that was linked when the experiment was created.
Why do I receive a "Project not linked to Google Analytics" message when creating a Remote Config experiment?
If you've already enabled Google Analytics in your project and linked
your apps, but you're still seeing a message that Google Analytics is
not linked, then make sure that an Analytics stream exists for
all apps in your project. Currently, to use
Here's how to verify the list of all active streams for your Google Analytics integration:
-
In the Firebase console, go to the
settings Settings > Integrations page. - In the Google Analytics card, click Manage.
Creating a Google Analytics stream for any app that does not have one should resolve the issue. There are a few ways to create streams for missing apps:
-
If you only have one or two apps missing an associated
Google Analytics stream, you can choose one of the following methods
to add a Google Analytics stream:
- In the Firebase console, delete and re-add any app without an active stream.
- From the Google Analytics console, select Admin, click Data Streams, then click Add stream, add the missing app's details, and click Register app.
-
If you have more than a few missing app streams, unlinking and relinking
your Google Analytics property is the fastest and most efficient way
to create the missing app streams:
-
In the Firebase console, go to the
settings Settings > Integrations page. - In the Google Analytics card, click Manage.
- Make a note of the Google Analytics Property ID and the Linked Google Analytics account.
- Click more_vert More and select Unlink Analytics from this project.
-
Review the warning that appears (don't worry here; you will relink the
same property in the next step), then click
Unlink Google Analytics.
When unlinking is complete, you'll be redirected to the Integrations page. - In the Google Analytics card, click Enable to begin the relinking process.
- Select your Analytics account from the Select account list.
-
Next to
Automatically create a new property in this account,
click
edit Edit and, from
the
Analytics property list that appears, select your
property ID.
A list of all apps in your project appears. Existing stream mappings for each app are listed, and apps that do not have a stream will have one created for them. - Click Enable Google Analytics to relink the property.
- Click Finish.
-
In the Firebase console, go to the
If you still receive an error creating A/B Tests with Remote Config after performing these steps, contact Firebase Support.
Remote Config experiments troubleshooting and FAQ
To provide a more powerful and cohesive experimentation experience,
Integrating experiments directly into Remote Config addresses these limitations and provides key features:
- Richer, unified targeting: Experiments leverage Remote Config's native condition builder, giving you access to a richer set of targeting criteria—such as Analytics audiences and user properties, app versions, device languages, country/region, and custom signals.
- Condition reuse: You can reuse existing Remote Config conditions across parameters, rollouts, and experiments rather than creating duplicate, isolated rules.
- Predictable condition evaluation: Experiment conditions are evaluated
sequentially alongside your other template conditions using standard "first
match" logic. You can reorder conditions in the template to control
precedence, eliminating legacy conflicts where
A/B Testing conditions implicitly overrode other rules. - Instant real-time updates: Leveraging Remote Config's real-time fetch mechanism, experiment updates (such as changing variant values or targeting) propagate to client SDKs in real time without waiting for the next periodic fetch.
- Unified template lifecycle: Experiments are managed as core components of your Remote Config template—similar to rollouts. You can stage, version, audit in change history, and publish experiment changes atomically alongside your template updates.
Refer to this troubleshooting guide to help you navigate through these features.
What are the key features of Remote Config experiments?
- Creation within Remote Config: You create experiments directly from the Remote Config section of the Firebase console. For example, from the Parameters page, click Create Experiment which opens a sidebar-based creation flow.
- Richer Targeting & Condition Reuse: Experiments use Remote Config's native condition builder, enabling you to reuse existing conditions and target users with rich criteria (such as Analytics audiences, user properties, app versions, device language, and country/region) evaluated in predictable sequential order.
- Unified Architecture: Experiments are part of the Remote Config template. This means changes to experiments (targeting, variants, stopping) are bundled with other Remote Config changes and take effect when the template is published.
- Real-Time Updates: Leveraging the Remote Config fetch mechanism, experiment value updates can be propagated to your mobile users in real-time.
- Staging Tab: Experiments that are in create or update states are held in a "Staging" sub-tab within Remote Config. These are local to the active console session.
- Deprecation of Old Drafts: The legacy standalone Drafts tab in
A/B Testing is deprecated. Existing drafts in this tab are view-only (can be duplicated or deleted) and cannot be started or edited. This tab is scheduled to be permanently removed on October 31st, 2026. - Test Devices Removal: The Manage test devices functionality is no longer available. To target specific internal test devices, you can add one or more Firebase Installation IDs (FIDs) to the experiment's conditions during creation.
How many experiments can I create and run?
You are allowed up to 300 total experiments per project (shared with Remote Config rollouts), which can include up to 24 running experiments and rollouts, with the rest as completed experiments:
-
If you reach the 300 total experiment limit, you cannot create a new
experiment until you delete one or more completed or stopped experiments or
rollouts:
-
To delete an experiment, use the Firebase console or the
firebase remoteconfig:experiments:deleteFirebase CLI command. Deleting an experiment doesn't require you to publish the Remote Config template. -
To delete a rollout, use the Firebase console or the
firebase remoteconfig:rollouts:deleteFirebase CLI command. Deleting a rollout requires you to publish the Remote Config template.
-
To delete an experiment, use the Firebase console or the
- If you reach the 24 running experiment and rollout limit, you must stop a running experiment or rollout and publish the Remote Config template before you can start a new one.
How do I create an experiment?
You can create experiments directly from the Remote Config section. For example, to create an experiment from the Parameters page, navigate to Remote Config > Parameters and click Create Experiment. This opens a sidebar-based creation flow similar to how Remote Config rollouts are created.
After you click Save, your new experiment is held in the Staged tab. Because experiments are part of the Remote Config template, you must click Publish changes to publish the Remote Config template and start your experiment.
How can I test or review an experiment internally before exposing it to all users?
In most cases when you want to validate and test an experiment before rolling it out, you're likely more interested in testing the experiment values and the app behavior rather than testing the experiment distribution itself. For such cases, we recommend creating a test experiment that you can target to a limited testing group. After creating the test experiment and verifying that the experiment variants work as intended, you can duplicate the experiment and change the conditions to target your external users, and apply any other conditions based on which users you want to target.
You can also target specific internal test devices to validate experiment behavior before exposing the experiment to any end-users. To do this, add one or more Firebase installation IDs (FIDs) to the experiment's conditions during experiment creation.
Where can I find my temporary experiment drafts, and what is the "Staging" tab?
Temporary experiment drafts (including experiments that are currently in create or update states) are available in a sub-tab called Staging within Remote Config. The drafts in this sub-tab are not persisted beyond the current session.
How do I stop a running experiment?
Stopping an experiment now requires publishing the Remote Config template. When you click Stop Experiment, a publish confirmation pop-up will appear. This pop-up lists all changes that will go into effect, including the experiment stoppage. Publishing the template is necessary to finalize the stopping action.
Why did my running A/B Test experiment stop unexpectedly?
Experiments can stop automatically due to changes in the Remote Config template:
- Template rollback: Rolling back your Remote Config template to a version where the experiment did not exist will stop the experiment. Rolling back to a version where an experiment was already stopped will not restart it. You can make a duplicate of the stopped experiment and re-publish it if you'd want to recreate and run the experiment.
- Parameter unlinking: If an experiment is linked to only one parameter, unlinking the condition associated with that parameter will cause the experiment to stop.
- Programmatic template updates (REST API or Admin SDK): Because
Remote Config experiment configurations (
experimentValue) are embedded directly in the Remote Config template, publishing a template update using the REST API or Admin SDK that omits or overwrites the experiment's parameter values unlinks the experiment and causes it to stop automatically. For guidance on updating templates safely without stopping active experiments, see How do I prevent automated Remote Config template updates from overwriting running experiments?
How do I prevent automated Remote Config template updates from overwriting running experiments?
With integrated Remote Config experiments, experimentValue metadata, variant values, and targeting conditions) are stored
directly inside the client-side Remote Config template. If an automated deployment script or
CI/CD pipeline publishes a template update via the
Remote Config REST API or Admin SDK
that omits or replaces active experimentValue entries, the experiment is unlinked
from the template and stops automatically. (Similarly, omitting or overwriting
rolloutValue stops the running rollout, and omitting or overwriting
personalizationValue deletes the personalization.)
To prevent automated updates from stopping running experiments:
- Fetch and merge the latest template before publishing: Always pull the latest active Remote Config template from the backend and merge your changes into it before publishing, rather than pushing a static template that excludes experiments created in the Firebase console.
-
Use a supported Admin SDK version: Older versions of the Admin SDK do
not recognize
experimentValue,rolloutValue, orpersonalizationValuemetadata and drop those fields when deserializing the template. Ensure your pipeline uses at least the following minimum SDK versions: -
Preserve Firebase-managed conditional values and conditions in your code:
A/B Testing , Remote Config rollouts, and Remote Config personalization values only exist on conditional values. Before updating a parameter's conditional value with a plain explicit value (such asParameterValue.of()in the Java Admin SDK), check whether the existing conditional value is already managed byA/B Testing , Remote Config rollouts, or Remote Config personalization and skip overwriting it. Also ensure that any targeting conditions referenced by those conditional values remain in the template'sconditionslist.
For example, when updating conditional parameter values with the Firebase Admin Java SDK
(Kotlin), check for ExperimentValue, PersonalizationValue, and
RolloutValue before overwriting existing conditional values:
fun updateConditionalValues( parameter: Parameter, updatesByCondition: Map<String, String> ) { val conditionalValues = parameter.conditionalValues for ((conditionName, newValue) in updatesByCondition) { val existingValue = conditionalValues[conditionName] if ( existingValue is ParameterValue.ExperimentValue || existingValue is ParameterValue.PersonalizationValue || existingValue is ParameterValue.RolloutValue ) { println("Skipping Firebase-managed value for condition=$conditionName") continue } conditionalValues[conditionName] = ParameterValue.of(newValue) } }
Will rolling back to an older Remote Config template version reactivate an experiment that was previously stopped or deleted?
No. Rolling back a Remote Config template will not restart any experiment that was already stopped, expired, or deleted, even if that experiment was active in the rolled-back version. You can make a duplicate of the experiment and re-publish it if you want to recreate and run the experiment.
In addition, if you roll back to a template version from before a currently running experiment was created, that experiment is unlinked from the active template and automatically moved to the Completed state. If a rolled-back template still contains the targeting condition from a previously stopped or deleted experiment, that condition remains in the Conditions tab as an unused condition (without an active experiment attached) until you remove it. Before you delete the condition, make sure that it isn't referenced by any parameter.
What happens when an experiment expires, and what steps should I take?
- Data collection stops: The experiment stops collecting new data and calculating metrics. Historical results and metrics collected during the 90-day window remain available in the Firebase console for review.
- The experiment is no longer active: The experiment stops running, and its condition logic no longer actively filters users for experiment variants.
- The expired experiment must be removed: You must remove the expired experiment from the Remote Config parameter. If the expired experiment is not removed, you won't be able to create a new experiment using the same parameter until the expired experiment is cleaned up.
Recommended actions:
- Review experiment results in the Firebase console to examine final metrics and determine if there is a winning variant.
-
Apply changes and clean up the expired experiment:
- If there is a winning variant, roll out the winning variant to apply the value to your users. Note that rolling out a variant does not automatically remove the expired experiment.
- If you do not want to roll out a variant, remove the experiment from the parameter to return to the default parameter value.
- Duplicate the experiment or create a new experiment from the parameter if you need to continue testing or collect more data.
Key things to keep in mind:
- Rollouts do not automatically remove expired experiments: Rolling out a winning variant does not automatically clean up the expired experiment. You must still explicitly remove the expired experiment from the Remote Config parameter and publish the template.
- Expired experiments cannot be revived: Once an experiment expires, it cannot be restarted or reactivated—even if you roll back your Remote Config template to a version where the experiment was active.
- The 90-day timer starts on publish: The expiration clock begins as soon as the experiment is published to the template, even if user exposure is initially set to 0%.
What values does my app read when an experiment stops or expires?
When an experiment stops or expires, client app instances that were enrolled in the experiment continue to read their previously assigned variant values from the local cache until the next fetch occurs and the new configuration is activated (or immediately after template publish if you use real-time Remote Config).
Once the updated Remote Config configuration is fetched and activated, the app resolves parameter values in the following priority order:
- Next matching condition: If the parameter is associated with other conditions in the Remote Config template, the app uses the conditional value from the next highest matching condition according to your template's condition evaluation order.
- Template default value: If no conditions match for that parameter, the app receives the template default value that you set when creating the parameter in the Remote Config template.
- In-app default value: If no template default value is provided (for example, if the parameter is set to Use in-app default), the app uses the in-app default value defined in your application code using the Remote Config SDK.
-
SDK default value: If no in-app default value is defined in your code, the
Remote Config SDK returns its static default value for the parameter's data type (such as
0for numbers,falsefor booleans,""for strings, or an empty object for JSON).
For more information on how values are evaluated, see Parameter value priority.
Is real-time support available for A/B Testing experiments?
Yes, real-time updates are now supported for
If I edit a running experiment's targeting conditions to exclude certain users, why are those users still included in the experiment's measurement data?
Once a user is assigned to an experiment and begins being measured, they will continue to be included in the experiment's metrics, even if subsequent edits to the targeting conditions would normally exclude them. However, these users will stop receiving the experiment's variant values if they no longer meet the updated conditions. More details available in the Remote Config variant assignment logic.
I see an error message Link an app to this Condition or select another when configuring targeting for an experiment.
This error means the selected targeting condition requires an explicit Firebase app to be targeted, but the current setup does not include one. Ensure that the condition contains a rule that targets at least one of your Firebase apps.
Why are my conditions not targeting any users?
Conditions in the Remote Config template are evaluated sequentially from top to bottom using the "first match" logic. If a broad, general condition is positioned above a more specific experiment condition, the broader condition captures the user first, and the experiment is ignored. To fix this, consider doing one of the following under the Conditions tab:
- Reorder conditions: Ensure more specific (least inclusive) experiment conditions are placed higher in the evaluation list so they're checked before broader, more general conditions.
- Use dedicated parameters: If you have complex targeting needs, consider creating a unique Remote Config parameter specifically for your experiment to avoid condition conflicts.
I cannot delete a condition from the Conditions tab.
Conditions cannot be deleted if they are linked to any active/running experiments. You must first stop the experiment and remove the condition.
I cannot remove a rule from a condition if that rule links to a specific app.
If a condition contains a rule that explicitly targets a Firebase app, that specific app-linking rule cannot be removed while editing the condition.
I see a warning about using multiple percentage conditions in my experiment targeting. Should I be concerned?
This is a non-blocking warning. It appears to make you aware when an experiment's targeting combines multiple percentage-based conditions, as their compounded effect, combined with the experiment's exposure percentage, can sometimes lead to unexpected user distribution. You can proceed, but be mindful of how these conditions interact.
Where can I find and manage Draft experiments or Test Devices?
For Remote Config experiments, here are the details related to legacy drafts and test devices:
- Draft tab deprecation: The legacy Drafts tab and existing draft experiments are no longer editable. You can only view, duplicate or delete existing draft experiments. The Drafts tab will be permanently removed from the console on October 31st, 2026.
- Test devices removal: The Manage test devices functionality is no longer available. To target specific internal test devices, you can add one or more Firebase installation IDs (FIDs) to the experiment's conditions during creation. For testing experimental for QA apps, assign the experiment to a specific app ID and set exposure to 100%. To review the experiment before rolling it out, set the exposure to 0%. Note that the 90-day experiment expiry period begins upon publishing, even at 0% exposure. After reviewing the experiment, you can increase the exposure percentage to begin the full rollout.
Can I create parameters when creating an experiment?
No, you cannot create a Remote Config parameter directly within the experiment creation sidebar. You need to create the parameter in Remote Config before setting up an experiment that uses it.