Firebase Deploy Failed (Functions and Hosting)

Share
Ongoing CLI Updated November 13, 2026Based on 4 user reportsHow we research

Quick answer

Functions deploys need the Blaze plan and working Cloud Build and Artifact Registry. If the console says Blaze but deploy still fails, check the linked Google Cloud billing account, enabled APIs and service account permissions, and rerun with --debug.

Most likely fix: Verify billing

How to fix it

Try these in order — the most common fix is first.

  1. 1. Verify billing

    1. Firebase console > Usage and billing: confirm Blaze
    2. In Google Cloud console confirm the billing account is open and linked
    Did this fix it?
  2. 2. Enable APIs and check permissions

    1. Enable Cloud Build and Artifact Registry APIs
    2. Check the Cloud Build and compute service accounts have required roles
    Did this fix it?
  3. 3. Get the real error

    1. Run firebase deploy --only functions --debug
    2. Look in Cloud Build logs for the failing step
    Did this fix it?
  4. 4. Retry cleanly

    1. Run npm install and test locally with the emulator, then redeploy a single function with --only functions:name
    Did this fix it?

Symptoms

firebase deploy fails with build errors, 'Failed to create function' or build status errors.

Why it happens

  • Project on Spark or billing account closed/unlinked
  • Cloud Build or Artifact Registry API disabled
  • Build service account lacks permissions
  • Transient build failures or timeouts
  • Mismatched Node runtime or code errors

This guide also covers

  • firebase deploy failed
  • firebase deploy functions error
  • firebase functions build failed

Still not working?

If Firebase keeps failing, you're not alone. See every Firebase problem users report or the alternatives people switch to.

Have an app idea? Our small team builds any software: web and mobile apps, games, desktop, AI tools. Price agreed together.

Talk to us
Fixed it? Share this guide

Other Firebase errors

All 10 Firebase errors and fixes →