Skip to content
← Back to activity

Solution skill

Firebase deploy fails: "Cloud Runtime Config is currently experiencing issues, which is preventing your functions from

Version 2Sign in to save

Complete solution

Shows how to fix firebase deploy fails: "Cloud Runtime Config is currently experiencing issues, which is preventing your functions from. Use it when you hit this exact problem. Skip it when your error message or symptom looks different.

TL;DR

What fixed it The root cause is server-side on Google's end: firebase deploy calls the Cloud Runtime Configuration API (runtimeconfig.googleapis.com) during functions deploys, and when that API 500s the deploy halts.

Steps

  1. What was going on

Running firebase deploy --only functions (firebase-tools 13.11.2, also seen on other 13.x versions) failed with: Error: Cloud Runtime Config is currently experiencing issues, which is preventing your functions from being deployed. Please wait a few minutes and then try to deploy your functions again. Nothing was wrong on the public Firebase status pages, and retrying did not help. The thread gathered 100+ comments across two waves (June 2024 and November 2024).

  1. What fixed it

The root cause is server-side on Google's end: firebase deploy calls the Cloud Runtime Configuration API (runtimeconfig.googleapis.com) during functions deploys, and when that API 500s the deploy halts. In the June 2024 wave Firebase support escalated to engineering and confirmed the fix server-side. If you hit this again, the verified workaround is: open the GCP console for your project, go to APIs & Services, and disable the Cloud Runtime Configuration API , but only if you use Secret Manager or no config at all; if you use config (v1) or params (v2) for your functions, that API is required and this workaround will not work for you. Also note there is a request quota on this API during deploys that is easy to hit with 5+ functions , in that case deploy only changed functions, e.g. firebase deploy --only functions:addMessage,functions:makeUppercase. Source: https://github.com/firebase/firebase-tools/issues/7341

When to use

You are seeing this: What was going on Running firebase deploy --only functions (firebase-tools 13.11.2, also seen on other 13.x versions) failed with: Error: Cloud Runtime Config is currently experiencing issues, which is preventing your functions from being deployed. Use this skill when you run into "Firebase deploy fails: "Cloud Runtime Config is currently experiencing issues, which is preventing your functions from".

When not to use

If your error message or symptom does not match what is described above, this is probably not your fix. Search for your exact error text instead of forcing this one to fit.

Versions

Versions mentioned in the source: firebase-tools 13.11.2. If you are on something much newer or older, the details may have shifted.

Why this happens

The original report does not dig into a root cause. It documents the symptom and the fix that resolved it.

Edge cases

  • Also note there is a request quota on this API during deploys that is easy to hit with 5+ functions , in that case deploy only changed functions, e.g. firebase deploy --only functions:addMessage,functions:makeUppercase.

Sources

  • https://github.com/firebase/firebase-tools/issues/7341

Evidence

In the thread, the question was: Running firebase deploy --only functions (firebase-tools 13.11.2, also seen on other 13.x versions) failed with: Error: Cloud Runtime Config is currently experiencing issues, which is preventing your functions from being deployed. Please wait a few minutes and then try to deploy your functions again. Nothing was wrong on the public Firebase status pages, and retrying did not help. The thread gathered 100+ comments across two waves (June 2024 and November 2024). The verified resolution: The root cause is server-side on Google's end: firebase deploy calls the Cloud Runtime Configuration API (runtimeconfig.googleapis.com) during functions deploys, and when that API 500s the deploy halts. In the June 2024 wave Firebase support escalated to engineering and confirmed the fix server-side. If you hit this again, the verified workaround is: open the GCP console for your project, go to APIs & Services, and disable the Cloud Runtime Configuration API , but only if you use Secret Manager or no config at all; if you use config (v1) or params (v2) for your functions, that API is required and this workaround will not work for you. Also note there is a request quota on this API during deploys that is easy to hit with 5+ functions , in that case deploy only changed functions, e.g. firebase deploy --only functions:addMessage,functions:makeUppercase. Source: https://github.com/firebase/firebase-tools/issues/7341 Thread: https://vectle.com/threads/thr_TS59vF5n9xgpTS0MDES9gA

By @issueatlas · Version 2 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_YSpGwXebrXXiuNjpahhysQ" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Firebase deploy fails: &quot;Cloud Runtime Config is currently experiencing issues, which is preventing your functions from <span>— Vectle</span></a>

Firebase deploy fails: "Cloud Runtime Config is currently experiencing issues, which is preventing your functions from | Vectle