Skip to content

Internal error during firebase deploy --only hosting with Next.js 15 #9879

Closed

Description

@GScandelari

Environment info

  • firebase-tools version: latest (used in GitHub Actions)
  • Platform: GitHub Actions (ubuntu-latest)
  • Node version: 20
  • Next.js version: 15.5.9
  • Firebase SDK version: 11.1.0

Steps to reproduce

  1. Run firebase deploy --only hosting for a Next.js 15 project
  2. Build completes successfully
  3. Deploy fails at the final step

Expected behavior

Deploy should complete successfully.

Actual behavior

Deploy fails with:
Error: An Internal error has occurred. Please try again in a few minutes. If this error persists, please open an issue at https://github.com/firebase/firebase-tools

The error occurs after:
i functions: generating the service identity for pubsub.googleapis.com...
i functions: generating the service identity for eventarc.googleapis.com...

Additional context

  • The build phase completes successfully (74 static pages generated)
  • The error has persisted for several hours across multiple retry attempts
  • Previous deploys to the same project worked fine
  • The function being deployed is ssrcurvamestra (SSR for Next.js)

Full log output shows the deploy reaches the final stage before failing:
i functions: packaged .firebase/curva-mestra/functions (85.07 MB) for uploading
i functions: ensuring required API run.googleapis.com is enabled...
i functions: ensuring required API eventarc.googleapis.com is enabled...
i functions: ensuring required API pubsub.googleapis.com is enabled...
i functions: ensuring required API storage.googleapis.com is enabled...
✔ functions: required API eventarc.googleapis.com is enabled
✔ functions: required API storage.googleapis.com is enabled
✔ functions: required API pubsub.googleapis.com is enabled
✔ functions: required API run.googleapis.com is enabled
i functions: generating the service identity for pubsub.googleapis.com...
i functions: generating the service identity for eventarc.googleapis.com...

Error: An Internal error has occurred.

Activity

  1. ian-sayles commented on Feb 5, 2026

    @ian-sayles

    Not sure if my issue with deploying a cloud function is related to this one, for today when I deployed some updates I keep getting similar error:

    "i functions: generating the service identity for eventarc.googleapis.com...

    Error: An Internal error has occurred. Please try again in a few minutes. If this error persists, please open an issue at https://github.com/firebase/firebase-tools"

    I have managed twice to update the cloud functions, but most times it keeps showing the error message.

  2. aalej commented on Feb 5, 2026

    @aalej
    Contributor

    Thanks for reporting this folks. At the moment, I'm not able to consistently reproduce the issue but it is occurring somewhat often. Let me try asking someone from our engineering team to see if they might have an idea on what's causing this.

    By any chance, could you try adding the --debug flag to your deploy commands and share contents of the debug log with us(even just the last few lines leading up to the error). Please remove any PIIs before sharing the contents.

  3. jorgealemangonzalez commented on Feb 9, 2026

    @jorgealemangonzalez

    I am facing the same error since last week in 2 different projects with 2 different billing accounts. Here are my deploy logs, this is stopping all our product deployments as of now @aalej

    We haven't updated any firebase library recently, so I guess it should be a backend issue. I also checked in our quotas and didn´t found the

    Quota exceeded for quota metric 'All requests' and limit 'All requests per minute' of service 'cloudbilling.googleapis.com' for consumer 'project_number:[PROJECT_NUMBER]'.

    
    [2026-02-09T11:46:38.758Z] unable to look up default compute service account. Falling back to [PROJECT_ID][email protected]. Error: {"name":"FirebaseError","children":[],"context":{"body":{"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"consumer":"projects/[PROJECT_ID]","containerInfo":"[PROJECT_ID]","service":"compute.googleapis.com","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","serviceTitle":"Compute Engine API"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}},"response":{"statusCode":403}},"exit":1,"message":"Request to https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] had HTTP Error: 403, Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","status":403}
    [2026-02-09T11:46:38.758Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:38.758Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:38.759Z] >>> [apiv2][query] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] [none]
    [2026-02-09T11:46:38.921Z] <<< [apiv2][status] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] 403
    [2026-02-09T11:46:38.921Z] <<< [apiv2][body] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] {"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"service":"compute.googleapis.com","consumer":"projects/[PROJECT_ID]","containerInfo":"[PROJECT_ID]","serviceTitle":"Compute Engine API","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}}
    [2026-02-09T11:46:38.922Z] unable to look up default compute service account. Falling back to [PROJECT_ID][email protected]. Error: {"name":"FirebaseError","children":[],"context":{"body":{"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"service":"compute.googleapis.com","consumer":"projects/[PROJECT_ID]","containerInfo":"[PROJECT_ID]","serviceTitle":"Compute Engine API","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}},"response":{"statusCode":403}},"exit":1,"message":"Request to https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] had HTTP Error: 403, Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","status":403}
    [2026-02-09T11:46:38.923Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:38.923Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:38.923Z] >>> [apiv2][query] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] [none]
    [2026-02-09T11:46:39.099Z] <<< [apiv2][status] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] 403
    [2026-02-09T11:46:39.099Z] <<< [apiv2][body] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] {"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"containerInfo":"[PROJECT_ID]","consumer":"projects/[PROJECT_ID]","service":"compute.googleapis.com","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","serviceTitle":"Compute Engine API"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}}
    [2026-02-09T11:46:39.100Z] unable to look up default compute service account. Falling back to [PROJECT_ID][email protected]. Error: {"name":"FirebaseError","children":[],"context":{"body":{"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"containerInfo":"[PROJECT_ID]","consumer":"projects/[PROJECT_ID]","service":"compute.googleapis.com","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","serviceTitle":"Compute Engine API"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}},"response":{"statusCode":403}},"exit":1,"message":"Request to https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] had HTTP Error: 403, Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","status":403}
    [2026-02-09T11:46:39.100Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.100Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.100Z] >>> [apiv2][query] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] [none]
    [2026-02-09T11:46:39.303Z] <<< [apiv2][status] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] 403
    [2026-02-09T11:46:39.303Z] <<< [apiv2][body] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] {"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"service":"compute.googleapis.com","consumer":"projects/[PROJECT_ID]","serviceTitle":"Compute Engine API","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","containerInfo":"[PROJECT_ID]"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}}
    [2026-02-09T11:46:39.303Z] unable to look up default compute service account. Falling back to [PROJECT_ID][email protected]. Error: {"name":"FirebaseError","children":[],"context":{"body":{"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"service":"compute.googleapis.com","consumer":"projects/[PROJECT_ID]","serviceTitle":"Compute Engine API","activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","containerInfo":"[PROJECT_ID]"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}},"response":{"statusCode":403}},"exit":1,"message":"Request to https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] had HTTP Error: 403, Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","status":403}
    [2026-02-09T11:46:39.304Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.304Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.304Z] >>> [apiv2][query] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] [none]
    [2026-02-09T11:46:39.493Z] <<< [apiv2][status] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] 403
    [2026-02-09T11:46:39.493Z] <<< [apiv2][body] GET https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] {"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","serviceTitle":"Compute Engine API","consumer":"projects/[PROJECT_ID]","service":"compute.googleapis.com","containerInfo":"[PROJECT_ID]"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}}
    [2026-02-09T11:46:39.493Z] unable to look up default compute service account. Falling back to [PROJECT_ID][email protected]. Error: {"name":"FirebaseError","children":[],"context":{"body":{"error":{"code":403,"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","errors":[{"message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","domain":"usageLimits","reason":"accessNotConfigured","extendedHelp":"https://console.developers.google.com"}],"status":"PERMISSION_DENIED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"SERVICE_DISABLED","domain":"googleapis.com","metadata":{"activationUrl":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]","serviceTitle":"Compute Engine API","consumer":"projects/[PROJECT_ID]","service":"compute.googleapis.com","containerInfo":"[PROJECT_ID]"}},{"@type":"type.googleapis.com/google.rpc.LocalizedMessage","locale":"en-US","message":"Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry."},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Google developers console API activation","url":"https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID]"}]}]}},"response":{"statusCode":403}},"exit":1,"message":"Request to https://compute.googleapis.com/compute/v1/projects/[PROJECT_ID] had HTTP Error: 403, Compute Engine API has not been used in project [PROJECT_ID] before or it is disabled. Enable it by visiting https://console.developers.google.com/apis/api/compute.googleapis.com/overview?project=[PROJECT_ID] then retry. If you enabled this API recently, wait a few minutes for the action to propagate to our systems and retry.","status":403}
    [2026-02-09T11:46:39.498Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.498Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.499Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.499Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:39.499Z] >>> [apiv2][query] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]/versions [none]
    [2026-02-09T11:46:39.499Z] >>> [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]/versions {"status":"CREATED","labels":{"deployment-tool":"cli-firebase"}}
    [2026-02-09T11:46:39.500Z] >>> [apiv2][query] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]-landing/versions [none]
    [2026-02-09T11:46:39.500Z] >>> [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]-landing/versions {"status":"CREATED","labels":{"deployment-tool":"cli-firebase"}}
    [2026-02-09T11:46:41.103Z] <<< [apiv2][status] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]/versions 200
    [2026-02-09T11:46:41.104Z] <<< [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]/versions {"name":"projects/[PROJECT_ID]/sites/[PROJECT_NAME]/versions/[VERSION_ID_1]","status":"CREATED","config":{},"labels":{"deployment-tool":"cli-firebase"}}
    [2026-02-09T11:46:41.227Z] <<< [apiv2][status] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]-landing/versions 200
    [2026-02-09T11:46:41.227Z] <<< [apiv2][body] POST https://firebasehosting.googleapis.com/v1beta1/projects/-/sites/[PROJECT_NAME]-landing/versions {"name":"projects/[PROJECT_ID]/sites/[PROJECT_NAME]-landing/versions/[VERSION_ID_2]","status":"CREATED","config":{},"labels":{"deployment-tool":"cli-firebase"}}
    [2026-02-09T11:46:41.228Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:41.228Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:41.229Z] >>> [apiv2][query] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/releases pageSize=10&pageToken=
    [2026-02-09T11:46:41.617Z] <<< [apiv2][status] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/releases 200
    [2026-02-09T11:46:41.618Z] <<< [apiv2][body] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/releases {"releases":[{"name":"projects/[PROJECT_NAME]/releases/cloud.firestore","rulesetName":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_1]","createTime":"2024-09-18T15:24:21.561252Z","updateTime":"2026-02-07T14:27:39.510538Z"},{"name":"projects/[PROJECT_NAME]/releases/cloud.firestore/temp-restore","rulesetName":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_2]","createTime":"2025-11-18T19:30:38.861730Z","updateTime":"2025-11-18T19:30:38.861730Z"},{"name":"projects/[PROJECT_NAME]/releases/firebase.storage/[PROJECT_NAME].appspot.com","rulesetName":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_3]","createTime":"2024-09-24T14:52:08.503665Z","updateTime":"2026-02-07T14:27:38.667123Z"}]}
    [2026-02-09T11:46:41.632Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:41.632Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:41.632Z] >>> [apiv2][query] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets/[RULESET_ID_3] [none]
    [2026-02-09T11:46:42.285Z] <<< [apiv2][status] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets/[RULESET_ID_3] 200
    [2026-02-09T11:46:42.285Z] <<< [apiv2][body] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets/[RULESET_ID_3] [omitted]
    i  storage: latest version of storage.rules already up to date, skipping upload... 
    [2026-02-09T11:46:42.287Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:42.287Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:42.287Z] >>> [apiv2][query] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/releases pageSize=10&pageToken=
    [2026-02-09T11:46:42.586Z] <<< [apiv2][status] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/releases 200
    [2026-02-09T11:46:42.587Z] <<< [apiv2][body] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/releases {"releases":[{"name":"projects/[PROJECT_NAME]/releases/cloud.firestore","rulesetName":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_1]","createTime":"2024-09-18T15:24:21.561252Z","updateTime":"2026-02-07T14:27:39.510538Z"},{"name":"projects/[PROJECT_NAME]/releases/cloud.firestore/temp-restore","rulesetName":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_2]","createTime":"2025-11-18T19:30:38.861730Z","updateTime":"2025-11-18T19:30:38.861730Z"},{"name":"projects/[PROJECT_NAME]/releases/firebase.storage/[PROJECT_NAME].appspot.com","rulesetName":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_3]","createTime":"2024-09-24T14:52:08.503665Z","updateTime":"2026-02-07T14:27:38.667123Z"}]}
    [2026-02-09T11:46:42.587Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:42.587Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:42.587Z] >>> [apiv2][query] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets/[RULESET_ID_2] [none]
    [2026-02-09T11:46:42.881Z] <<< [apiv2][status] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets/[RULESET_ID_2] 200
    [2026-02-09T11:46:42.881Z] <<< [apiv2][body] GET https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets/[RULESET_ID_2] [omitted]
    i  firestore: uploading rules firestore.rules... 
    [2026-02-09T11:46:42.882Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:42.882Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:42.882Z] >>> [apiv2][query] POST https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets [none]
    [2026-02-09T11:46:42.882Z] >>> [apiv2][body] POST https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets [omitted]
    [2026-02-09T11:46:43.666Z] <<< [apiv2][status] POST https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets 200
    [2026-02-09T11:46:43.666Z] <<< [apiv2][body] POST https://firebaserules.googleapis.com/v1/projects/[PROJECT_NAME]/rulesets {"name":"projects/[PROJECT_NAME]/rulesets/[RULESET_ID_4]","source":{"files":[{"content":"rules_version = '2';\n\nservice cloud.firestore {\n  match /databases/{database}/documents {\n\n    function isLoggedIn(request) {\n      return request.auth != null;\n    }\n\n    function isAdmin(request) {\n      return isLoggedIn(request) && 'admin' in request.auth.token && request.auth.token.admin == true;\n    }\n\n    function isOrganizationMember(organizationId) {\n      return isLoggedIn(request) && (isAdmin(request) || get(/databases/$(database)/documents/users/$(request.auth.uid)).data.organizationId == organizationId)\n    }\n\n    match /users/{uid} {\n      // TODO REMOVE WRITE AND MOVE AssistantButton callId to a function\n      allow read: if (isLoggedIn(request) && request.auth.uid == uid) || isAdmin(request);\n      allow list: if isAdmin(request);\n      allow update: if (isLoggedIn(request) && request.auth.uid == uid &&\n        request.resource.data.diff(resource.data).affectedKeys().hasOnly(['currentCallId' ,'updatedAt', 'npsScores', 'nextNPSAt'])) ||\n        isAdmin(request);\n    }\n\n    match /organizations/{organizationId} {\n      allow read: if isOrganizationMember(organizationId);\n      allow update: if isOrganizationMember(organizationId) &&\n        request.resource.data.diff(resource.data).affectedKeys().hasOnly([\n          'recipesCategories',\n          'restaurants',\n          'isComplianceActive',\n          'onboardingChecklistCurrentStep',\n          'updatedAt',\n        ]) &&\n        (\n          // Allow updates to restaurants (adding/modifying) or compliance fields inside restaurants\n          request.resource.data.restaurants == null ||\n          resource.data.restaurants == null ||\n          // Allow adding restaurants or updating compliance within existing restaurants\n          request.resource.data.restaurants.size() >= resource.data.restaurants.size()\n        );\n      allow list: if isAdmin(request);\n      match /recipes/{recipeId} {\n        allow read, write: if isOrganizationMember(organizationId);\n      }\n\n      match /ingredients/{ingredientId} {\n        allow read, write: if isOrganizationMember(organizationId);\n      }\n      match /deliveryNotes/{deliveryNoteId} {\n        allow read, write, list: if isOrganizationMember(organizationId);\n      }\n      match /suppliers/{supplierId} {\n        allow read, write: if isOrganizationMember(organizationId);\n      }\n      match /orders/{orderId} {\n        allow read, write: if isOrganizationMember(organizationId);\n      }\n\n      match /calls/{callId} {\n        allow read, write, list: if isOrganizationMember(organizationId);\n      }\n\n      match /cleaningsLogs/{logId} {\n        allow read, write, list: if isOrganizationMember(organizationId);\n      }\n\n      match /temperaturesLogs/{logId} {\n        allow read, write, list: if isOrganizationMember(organizationId);\n      }\n    }\n\n    // Collection group rule for deliveryNotes\n    match /{path=**}/deliveryNotes/{deliveryNoteId} {\n      allow read, write, list: if isAdmin(request);\n    }\n\n    // Collection group rule for calls\n    match /{path=**}/calls/{callId} {\n      allow read, list: if isOrganizationMember(path.split('/')[1]);\n    }\n\n    match /feature-flags/{featureFlagId} {\n      allow list, read: if true;\n    }\n\n    match /app_versions/{versionId} {\n      allow read: if true;\n    }\n  }\n}\n","name":"firestore.rules"}]},"createTime":"2026-02-09T11:46:43.592271Z","metadata":{"services":["cloud.firestore"]}}
    [2026-02-09T11:46:43.666Z] [rules] created ruleset projects/[PROJECT_NAME]/rulesets/[RULESET_ID_4]
    i  firestore: deploying indexes... 
    [2026-02-09T11:46:43.671Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:43.671Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:43.671Z] >>> [apiv2][query] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default)/collectionGroups/-/indexes [none]
    [2026-02-09T11:46:43.937Z] <<< [apiv2][status] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default)/collectionGroups/-/indexes 200
    [2026-02-09T11:46:43.937Z] <<< [apiv2][body] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default)/collectionGroups/-/indexes {"indexes":[{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjChIAK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgITO7YIK","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPiftYMK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/temperaturesLogs/indexes/CICAgNjamYQK","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/temperaturesLogs/indexes/CICAgPi9o4UK","queryScope":"COLLECTION","fields":[{"fieldPath":"confirmed","order":"ASCENDING"},{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgOi3voUK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgJjUgIcK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjg7IcK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgITsgYgK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNja0ogK","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjC9ogK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgLiTpokK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNiryokK","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPi97okK","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPj-z4oK","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNjp84oK","queryScope":"COLLECTION","fields":[{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgLiI64sK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/calls/indexes/CICAgPj9yI0K","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/calls/indexes/CICAgOi3040K","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgOi3kJAK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"validated","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNirtJAK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgJiH2JAK","queryScope":"COLLECTION","fields":[{"fieldPath":"deliveryNoteIngredientsIds","arrayConfig":"CONTAINS"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgLiT_JAK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/app_versions/indexes/CICAgNjaxJEK","queryScope":"COLLECTION","fields":[{"fieldPath":"isBreaking","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"commitHash","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjC4pEK","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"ingredientsNamesInNote","arrayConfig":"CONTAINS"},{"fieldPath":"date","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgLiIjZIK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPifq5IK","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"serialNumber","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPigw5IK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNi4-ZIK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgITOu5MK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"serialNumber","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/cleaningsLogs/indexes/CICAgNjp5ZMK","queryScope":"COLLECTION","fields":[{"fieldPath":"isConfirmed","order":"ASCENDING"},{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgOi3pZQK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/cleaningsLogs/indexes/CICAgPi9t5QK","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/userToolCalls/indexes/CICAgJjmtZUK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"callId","order":"ASCENDING"},{"fieldPath":"toolName","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjg-pYK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPiB5pcK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNir3pgK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgNjajpkK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"serialNumber","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjgiJoK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/recipes/indexes/CICAgNi4t5oK","queryScope":"COLLECTION","fields":[{"fieldPath":"ingredientIds","arrayConfig":"CONTAINS"},{"fieldPath":"name","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgPjfxJoK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgJiU25oK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/cleaningsLogs/indexes/CICAgLiI_5oK","queryScope":"COLLECTION","fields":[{"fieldPath":"isConfirmed","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/temperaturesLogs/indexes/CICAgPiBmJsK","queryScope":"COLLECTION","fields":[{"fieldPath":"confirmed","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/indexes/CICAgLix4JsK","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"serialNumber","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}],"state":"READY","density":"SPARSE_ALL"}]}
    [2026-02-09T11:46:43.939Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:43.939Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:43.940Z] >>> [apiv2][query] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default)/collectionGroups/-/fields?filter=indexConfig.usesAncestorConfig=false OR ttlConfig:* [none]
    [2026-02-09T11:46:44.016Z] <<< [apiv2][status] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default)/collectionGroups/-/fields?filter=indexConfig.usesAncestorConfig=false OR ttlConfig:* 200
    [2026-02-09T11:46:44.016Z] <<< [apiv2][body] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default)/collectionGroups/-/fields?filter=indexConfig.usesAncestorConfig=false OR ttlConfig:* {"fields":[{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"*","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"*","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"*","arrayConfig":"CONTAINS"}],"state":"READY"}]}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/calls/fields/createdAt","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"createdAt","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"createdAt","order":"DESCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/batchId","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"batchId","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"batchId","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"batchId","arrayConfig":"CONTAINS"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"batchId","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/createdAt","indexConfig":{"indexes":[{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"createdAt","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/date","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"date","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"date","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"date","arrayConfig":"CONTAINS"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"date","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/deliveryNoteId","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"deliveryNoteId","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/serialNumber","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"serialNumber","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"serialNumber","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"serialNumber","arrayConfig":"CONTAINS"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"serialNumber","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/status","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"status","arrayConfig":"CONTAINS"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/deliveryNotes/fields/updatedAt","indexConfig":{"indexes":[{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"updatedAt","order":"DESCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/ingredientPriceHistory/fields/date","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"date","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"date","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"date","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/ingredientPriceHistory/fields/deliveryNoteId","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}},{"name":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/ingredients/fields/pricePerUnit","indexConfig":{"indexes":[{"queryScope":"COLLECTION","fields":[{"fieldPath":"pricePerUnit","order":"ASCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"pricePerUnit","order":"DESCENDING"}],"state":"READY"},{"queryScope":"COLLECTION","fields":[{"fieldPath":"pricePerUnit","arrayConfig":"CONTAINS"}],"state":"READY"},{"queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"pricePerUnit","order":"ASCENDING"}],"state":"READY"}],"ancestorField":"projects/[PROJECT_NAME]/databases/(default)/collectionGroups/__default__/fields/*"}}]}
    [2026-02-09T11:46:44.018Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:44.018Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:44.018Z] >>> [apiv2][query] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default) [none]
    [2026-02-09T11:46:44.103Z] <<< [apiv2][status] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default) 200
    [2026-02-09T11:46:44.103Z] <<< [apiv2][body] GET https://firestore.googleapis.com/v1/projects/[PROJECT_NAME]/databases/(default) {"name":"projects/[PROJECT_NAME]/databases/(default)","uid":"[DATABASE_UID]","createTime":"2024-09-18T15:24:15.952252Z","updateTime":"2024-09-18T15:24:15.952252Z","locationId":"eur3","type":"FIRESTORE_NATIVE","concurrencyMode":"PESSIMISTIC","versionRetentionPeriod":"604800s","earliestVersionTime":"2026-02-02T11:47:00Z","appEngineIntegrationMode":"DISABLED","keyPrefix":"e","pointInTimeRecoveryEnablement":"POINT_IN_TIME_RECOVERY_ENABLED","deleteProtectionState":"DELETE_PROTECTION_DISABLED","backupConfig":{"backupSchedulesEnabled":true},"databaseEdition":"STANDARD","freeTier":true,"realtimeUpdatesMode":"REALTIME_UPDATES_MODE_ENABLED","etag":"IIzmq4urzJIDMNHLieevhpAD"}
    i  firestore: The following indexes are defined in your project but are not present in your firestore indexes file:
            (deliveryNotes) -- (organizationId,ASCENDING) (status,ASCENDING) (updatedAt,DESCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (organizationId,ASCENDING) (status,ASCENDING) (supplierId,ASCENDING) (date,ASCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (restaurantId,ASCENDING) (date,ASCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (restaurantId,ASCENDING) (date,ASCENDING) (status,ASCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (status,ASCENDING) (serialNumber,ASCENDING)  -- Density:SPARSE_ALL 
            (calls) -- (status,ASCENDING) (createdAt,ASCENDING) (updatedAt,DESCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (restaurantId,ASCENDING) (status,ASCENDING) (supplierId,ASCENDING) (createdAt,ASCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (status,ASCENDING) (updatedAt,DESCENDING) (serialNumber,DESCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (organizationId,ASCENDING) (status,ASCENDING) (updatedAt,DESCENDING) (serialNumber,DESCENDING)  -- Density:SPARSE_ALL 
            (userToolCalls) -- (callId,ASCENDING) (toolName,ASCENDING)  -- Density:SPARSE_ALL 
            (deliveryNotes) -- (organizationId,ASCENDING) (status,ASCENDING) (supplierId,ASCENDING)  -- Density:SPARSE_ALL  
    ✔ Would you like to delete these indexes? Selecting no will continue the rest of 
    the deployment. No
    [2026-02-09T11:46:45.931Z] Skipping existing index: {"collectionGroup":"recipes","queryScope":"COLLECTION","fields":[{"fieldPath":"ingredientIds","arrayConfig":"CONTAINS"},{"fieldPath":"name","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"temperaturesLogs","queryScope":"COLLECTION","fields":[{"fieldPath":"confirmed","order":"ASCENDING"},{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"cleaningsLogs","queryScope":"COLLECTION","fields":[{"fieldPath":"isConfirmed","order":"ASCENDING"},{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"cleaningsLogs","queryScope":"COLLECTION","fields":[{"fieldPath":"isConfirmed","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"cleaningsLogs","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"temperaturesLogs","queryScope":"COLLECTION","fields":[{"fieldPath":"confirmed","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"temperaturesLogs","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"serialNumber","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.932Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION","fields":[{"fieldPath":"deliveryNoteIngredientsIds","arrayConfig":"CONTAINS"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"ingredientsNamesInNote","arrayConfig":"CONTAINS"},{"fieldPath":"date","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"app_versions","queryScope":"COLLECTION","fields":[{"fieldPath":"isBreaking","order":"ASCENDING"},{"fieldPath":"createdAt","order":"DESCENDING"},{"fieldPath":"commitHash","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"restaurantId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION","fields":[{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.933Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"supplierId","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"validated","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"date","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"deliveryNoteId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"serialNumber","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"deliveryNotes","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"organizationId","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"DESCENDING"},{"fieldPath":"serialNumber","order":"DESCENDING"},{"fieldPath":"__name__","order":"DESCENDING"}]}
    [2026-02-09T11:46:45.934Z] Skipping existing index: {"collectionGroup":"calls","queryScope":"COLLECTION_GROUP","fields":[{"fieldPath":"status","order":"ASCENDING"},{"fieldPath":"createdAt","order":"ASCENDING"},{"fieldPath":"updatedAt","order":"ASCENDING"},{"fieldPath":"__name__","order":"ASCENDING"}]}
    i  firestore: The following field overrides are defined in your project but are not present in your firestore indexes file:
            [deliveryNotes.date] -- (ASCENDING) (DESCENDING) (CONTAINS) (ASCENDING)
            [ingredientPriceHistory.date] -- (ASCENDING) (DESCENDING) (ASCENDING)
            [ingredientPriceHistory.deliveryNoteId] -- (ASCENDING) (ASCENDING)
            [ingredients.pricePerUnit] -- (ASCENDING) (DESCENDING) (CONTAINS) (ASCENDING) 
    ✔ Would you like to delete these field overrides? Selecting no will continue the 
    rest of the deployment. No
    [2026-02-09T11:46:46.841Z] Skipping existing field override: {"collectionGroup":"calls","fieldPath":"createdAt","ttl":false,"indexes":[{"order":"DESCENDING","queryScope":"COLLECTION_GROUP"},{"order":"DESCENDING","queryScope":"COLLECTION"}]}
    [2026-02-09T11:46:46.841Z] Skipping existing field override: {"collectionGroup":"deliveryNotes","fieldPath":"batchId","ttl":false,"indexes":[{"order":"ASCENDING","queryScope":"COLLECTION"},{"order":"DESCENDING","queryScope":"COLLECTION"},{"arrayConfig":"CONTAINS","queryScope":"COLLECTION"},{"order":"ASCENDING","queryScope":"COLLECTION_GROUP"}]}
    [2026-02-09T11:46:46.842Z] Skipping existing field override: {"collectionGroup":"deliveryNotes","fieldPath":"createdAt","ttl":false,"indexes":[{"order":"ASCENDING","queryScope":"COLLECTION_GROUP"}]}
    [2026-02-09T11:46:46.842Z] Skipping existing field override: {"collectionGroup":"deliveryNotes","fieldPath":"deliveryNoteId","ttl":false,"indexes":[{"order":"ASCENDING","queryScope":"COLLECTION"},{"order":"DESCENDING","queryScope":"COLLECTION"},{"order":"ASCENDING","queryScope":"COLLECTION_GROUP"}]}
    [2026-02-09T11:46:46.842Z] Skipping existing field override: {"collectionGroup":"deliveryNotes","fieldPath":"serialNumber","ttl":false,"indexes":[{"order":"ASCENDING","queryScope":"COLLECTION"},{"order":"DESCENDING","queryScope":"COLLECTION"},{"arrayConfig":"CONTAINS","queryScope":"COLLECTION"},{"order":"ASCENDING","queryScope":"COLLECTION_GROUP"}]}
    [2026-02-09T11:46:46.842Z] Skipping existing field override: {"collectionGroup":"deliveryNotes","fieldPath":"status","ttl":false,"indexes":[{"order":"ASCENDING","queryScope":"COLLECTION"},{"order":"DESCENDING","queryScope":"COLLECTION"},{"arrayConfig":"CONTAINS","queryScope":"COLLECTION"},{"order":"ASCENDING","queryScope":"COLLECTION_GROUP"}]}
    [2026-02-09T11:46:46.842Z] Skipping existing field override: {"collectionGroup":"deliveryNotes","fieldPath":"updatedAt","ttl":false,"indexes":[{"order":"DESCENDING","queryScope":"COLLECTION_GROUP"}]}
    ✔  firestore: deployed indexes in firestore.indexes.json successfully for (default) database 
    [2026-02-09T11:46:46.843Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:46.843Z] Checked if tokens are valid: true, expires at: [TOKEN_EXPIRATION]
    [2026-02-09T11:46:46.843Z] >>> [apiv2][query] GET https://cloudbilling.googleapis.com/v1/projects/[PROJECT_NAME]/billingInfo [none]
    [2026-02-09T11:46:48.011Z] <<< [apiv2][status] GET https://cloudbilling.googleapis.com/v1/projects/[PROJECT_NAME]/billingInfo 429
    [2026-02-09T11:46:48.011Z] <<< [apiv2][body] GET https://cloudbilling.googleapis.com/v1/projects/[PROJECT_NAME]/billingInfo {"error":{"code":429,"message":"Quota exceeded for quota metric 'All requests' and limit 'All requests per minute' of service 'cloudbilling.googleapis.com' for consumer 'project_number:[PROJECT_NUMBER]'.","status":"RESOURCE_EXHAUSTED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"RATE_LIMIT_EXCEEDED","domain":"googleapis.com","metadata":{"service":"cloudbilling.googleapis.com","quota_limit_value":"400","quota_location":"global","quota_limit":"StandardQuotaPerMinutePerProject","quota_metric":"cloudbilling.googleapis.com/standard_quota","consumer":"projects/[PROJECT_NUMBER]","quota_unit":"1/min/{project}"}},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Request a higher quota limit.","url":"https://cloud.google.com/docs/quotas/help/request_increase"}]}]}}
    
    Error: Request to https://cloudbilling.googleapis.com/v1/projects/[PROJECT_NAME]/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:[PROJECT_NUMBER]'.
    [2026-02-09T11:46:48.140Z] Error Context: {
      "body": {
        "error": {
          "code": 429,
          "message": "Quota exceeded for quota metric 'All requests' and limit 'All requests per minute' of service 'cloudbilling.googleapis.com' for consumer 'project_number:[PROJECT_NUMBER]'.",
          "status": "RESOURCE_EXHAUSTED",
          "details": [
            {
              "@type": "type.googleapis.com/google.rpc.ErrorInfo",
              "reason": "RATE_LIMIT_EXCEEDED",
              "domain": "googleapis.com",
              "metadata": {
                "service": "cloudbilling.googleapis.com",
                "quota_limit_value": "400",
                "quota_location": "global",
                "quota_limit": "StandardQuotaPerMinutePerProject",
                "quota_metric": "cloudbilling.googleapis.com/standard_quota",
                "consumer": "projects/[PROJECT_NUMBER]",
                "quota_unit": "1/min/{project}"
              }
            },
            {
              "@type": "type.googleapis.com/google.rpc.Help",
              "links": [
                {
                  "description": "Request a higher quota limit.",
                  "url": "https://cloud.google.com/docs/quotas/help/request_increase"
                }
              ]
            }
          ]
        }
      },
      "response": {
        "statusCode": 429
      }
    }
    
  4. T-P-F commented on Feb 9, 2026

    @T-P-F

    Seeing same almost every time I try to deploy Firebase Functions

    firebase deploy --only functions --debug

    [2026-02-09T13:01:33.206Z] <<< [apiv2][body] GET https://cloudbilling.googleapis.com/v1/projects/apptonomy-gcp/billingInfo {"error":{"code":429,"message":"Quota exceeded for quota metric 'All requests' and limit 'All requests per minute' of service 'cloudbilling.googleapis.com' for consumer 'project_number:563584335869'.","status":"RESOURCE_EXHAUSTED","details":[{"@type":"type.googleapis.com/google.rpc.ErrorInfo","reason":"RATE_LIMIT_EXCEEDED","domain":"googleapis.com","metadata":{"quota_unit":"1/min/{project}","quota_limit":"StandardQuotaPerMinutePerProject","service":"cloudbilling.googleapis.com","quota_limit_value":"400","consumer":"projects/563584335869","quota_metric":"cloudbilling.googleapis.com/standard_quota","quota_location":"global"}},{"@type":"type.googleapis.com/google.rpc.Help","links":[{"description":"Request a higher quota limit.","url":"https://cloud.google.com/docs/quotas/help/request_increase"}]}]}}
    [2026-02-09T13:01:33.304Z] FirebaseError: Request to https://cloudbilling.googleapis.com/v1/projects/apptonomy-gcp/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'.
        at responseToError (/Users/tpf/.nvm/versions/node/v22.21.1/lib/node_modules/firebase-tools/lib/responseToError.js:53:12)
        at RetryOperation._fn (/Users/tpf/.nvm/versions/node/v22.21.1/lib/node_modules/firebase-tools/lib/apiv2.js:330:77)
        at process.processTicksAndRejections (node:internal/process/task_queues:105:5)
    
    Error: An Internal error has occurred. Please try again in a few minutes. If this error persists, please open an issue at https://github.com/firebase/firebase-tools

    The issue was previously claimed fixed here: #8711 (comment) #8711 but it is in fact not fixed. cc @joehan

  5. T-P-F commented on Feb 9, 2026

    @T-P-F

    Created a new issue to track this 429 deployment error more generally: #9895

  6. aalej commented on Feb 9, 2026

    @aalej
    Contributor

    Hey folks apologies for the issue here, at the moment, I'm not sure if the original report is also encountering the 429 quota error. For those encountering the 429 quota error, could you please refer to #9880 for updates.

    @GScandelari just to verify, if you were to run firebase deploy --only hosting --debug are you also seeing the 429 quota error?

  7. added
    Needs: Author Feedback
    on Feb 10, 2026
  8. lbastidasl commented on Feb 13, 2026

    @lbastidasl

    I am encountering the same "Error generating the service identity" failure during deployment with [email protected] on Linux (Ubuntu 6.8.0).

    Findings from Debug Logs

    In my case, the error is specifically a 403 Forbidden from the serviceusage.googleapis.com/v1beta1 endpoint, despite all required APIs being confirmed as Enabled.

    [debug] [2026-02-13T14:09:59.257Z] FirebaseError: Request to https://serviceusage.googleapis.com/v1beta1/projects/[PROJECT_ID]/services/pubsub.googleapis.com:generateServiceIdentity had HTTP Error: 403, Service Usage API has not been used in project [PROJECT_ID] before or it is disabled.
    

    Key Observations:

    1. No 429 Errors: Unlike other reports, I am not seeing any "Quota exceeded" (429) errors. This appears to be a separate logic or detection regression in the identity generation phase.
    2. API State Verified: I verified via gcloud services list --enabled that serviceusage.googleapis.com, pubsub.googleapis.com, and eventarc.googleapis.com are all active in the project.
    3. Manual Workaround Failure: I was able to manually create the identities using gcloud alpha services identity create --service=pubsub.googleapis.com, but the Firebase CLI still fails at the same step with the 403 error.
    4. Permissions: The deployment is being run by a user with roles/owner permissions.

    Confirmed Workaround:

    Downgrading to [email protected] immediately resolved the issue and allowed the deployment to complete successfully.

    Environment Info:

    • firebase-tools: 15.6.0
    • Platform: Linux (Ubuntu 22.04 / Kernel 6.8.0)
    • Node.js: v24.12.0
    • pnpm: 10.7.0
    • firebase-functions: ^6.3.2
  9. aalej commented on Feb 16, 2026

    @aalej
    Contributor

    @lbastidasl, I think you're encountering an issue related to this change #9832, could you double check if you enabled the API in https://console.cloud.google.com/apis/library/serviceusage.googleapis.com?project=[PROJECT_ID]? Also, which service are you deploying to(functions, hosting, etc.)?

    Lastly, are you also encountering the error on firebase-tools v15.4.0? From what I can gather, the change in #9382 was released on version 15.5.0.

  10. joehan commented on Feb 17, 2026

    @joehan
    Member

    I am encountering the same "Error generating the service identity" failure during deployment with [email protected] on Linux (Ubuntu 6.8.0).

    Findings from Debug Logs

    In my case, the error is specifically a 403 Forbidden from the serviceusage.googleapis.com/v1beta1 endpoint, despite all required APIs being confirmed as Enabled.

    [debug] [2026-02-13T14:09:59.257Z] FirebaseError: Request to https://serviceusage.googleapis.com/v1beta1/projects/[PROJECT_ID]/services/pubsub.googleapis.com:generateServiceIdentity had HTTP Error: 403, Service Usage API has not been used in project [PROJECT_ID] before or it is disabled.
    

    Key Observations:

    1. No 429 Errors: Unlike other reports, I am not seeing any "Quota exceeded" (429) errors. This appears to be a separate logic or detection regression in the identity generation phase.
    2. API State Verified: I verified via gcloud services list --enabled that serviceusage.googleapis.com, pubsub.googleapis.com, and eventarc.googleapis.com are all active in the project.
    3. Manual Workaround Failure: I was able to manually create the identities using gcloud alpha services identity create --service=pubsub.googleapis.com, but the Firebase CLI still fails at the same step with the 403 error.
    4. Permissions: The deployment is being run by a user with roles/owner permissions.

    Confirmed Workaround:

    Downgrading to [email protected] immediately resolved the issue and allowed the deployment to complete successfully.

    Environment Info:

    • firebase-tools: 15.6.0
    • Platform: Linux (Ubuntu 22.04 / Kernel 6.8.0)
    • Node.js: v24.12.0
    • pnpm: 10.7.0
    • firebase-functions: ^6.3.2

    How are you authenticating with the CLI? Are you using 'firebase login' or are you using Application Default Credentials with a service account key?

  11. aalej commented on Mar 13, 2026

    @aalej
    Contributor

    Looking back into this issue, I think that the cause of the initial error is the same as #9880. Also, there hasn't been an update to this issue in a while so I'll go ahead and close this.

    If you're still encountering this error, please share your debug logs so that we can further investigate.

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

    Needs: Author Feedbackapi: functionstype: bug

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions