Skip to content

Cloud billing issue when deploying #9880

Closed

Description

@LanderBeeuwsaert

[REQUIRED] Environment info

firebase tools 14.9.0
Windows 11

I get quite some times when deploying:
Error: Request to https://cloudbilling.googleapis.com/v1/projects/acro-prod-8c72c/billingInfo had HTTP Error: 429, Quota exceeded for quota metric 'All requests' and limit 'All requests per minute' of service 'cloudbilling.googleapis.com' for consumer 'project_number:563584335869'.

We do have quite some functions in our project (+-40 or so) and have +- 20 to 40 releases per day, so that makes for 1600 function deploys.
But I would hope that should not be an issue?

Activity

  1. aalej commented on Feb 5, 2026

    @aalej
    Contributor

    Sorry to hear you're encountering this issue. There was also a report recently opened up that I think might be similar to this #9879. Did you ever encounter this issue before, or did it suddenly start occurring recently?

  2. LanderBeeuwsaert commented on Feb 5, 2026

    @LanderBeeuwsaert
    Author

    @aalej it has started appearing recently indeed. It doesn't always fail though, sometimes it does, sometimes it doesn't

  3. Nate1024 commented on Feb 9, 2026

    @Nate1024

    @LanderBeeuwsaert I was having the exact same error. It turned out the issue was the schema I was using for my functions section of firebase.json. Switching from functions as an array to functions as an object solved my issue. IDK if it's the same issue for you, but I'd try looking there.

  4. LanderBeeuwsaert commented on Feb 9, 2026

    @LanderBeeuwsaert
    Author

    Hi @Nate1024 , thank you for the idea.
    However the functions part of our firebase.json looks like this:

    Image

    so the only arrays we have there are predeploy and ignore; are you referring to those?

  5. gbatterbee commented on Feb 9, 2026

    @gbatterbee

    Also have the same problem, managed to deploy to our test project, but getting this error when deploying to production project.
    MacOS - Tahoe 26.2

    firebase --version
    14.27.0
    
    Request to https://cloudbilling.googleapis.com/v1/projects/aaaaaa/billingInfo had HTTP Error: 429, Quota exceeded for quota metric 'All requests' and limit 'All requests per minute' of service 'cloudbilling.googleapis.com' for consumer 'project_number:nnnnnn.
    
  6. tecbot commented on Feb 9, 2026

    @tecbot

    This issue occurs because the CLI uses a shared quota project as default and the quota limit seems to be reached.

    export const CLI_OAUTH_PROJECT_NUMBER = "563584335869";

    As a workaround, you can avoid the shared quota by using your own project ID. Set the following environment variable:

    GOOGLE_CLOUD_QUOTA_PROJECT=YOUR_PROJECT_ID
    
  7. if-fi commented on Feb 9, 2026

    @if-fi

    This issue occurs because the CLI uses a shared quota project as default and the quota limit seems to be reached.

    firebase-tools/src/apiv2.ts

    Line 39 in a4882c8
    export const CLI_OAUTH_PROJECT_NUMBER = "563584335869";

    As a workaround, you can avoid the shared quota by using your own project ID. Set the following environment variable:

    GOOGLE_CLOUD_QUOTA_PROJECT=YOUR_PROJECT_ID
    

    This! + enabling the Cloud Billing API (in the cloud console) for the project, solved the problem for me.

  8. Nate1024 commented on Feb 9, 2026

    @Nate1024

    Sorry @LanderBeeuwsaert, I think we have a different source for our error. Yours looks like ours does now.

  9. bkendall commented on Feb 9, 2026

    @bkendall
    Contributor

    We increased the quota that is used and these errors should be reduced now.

  10. bkendall commented on Feb 9, 2026

    @bkendall
    Contributor

    Reopen this if you continue seeing issues, but it should be good now! (And we've got some retry logic just in case that'll go out in the next release)

  11. sandei-travolta commented on Jun 24, 2026

    @sandei-travolta

    For my case Updating firebase-tools resolved it.

  12. desmeit commented on Jun 24, 2026

    @desmeit

    for me its not solved with updating firebase-tools. Sometimes it works, sometimes not.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions