Skip to content

🐛 [firestore-bigquery-export] Error when mirroring data to BigQuery FirebaseFunctionsError: Queue does not exist #2482

@Fasust

Description

@Fasust

Extension Setup

  • Extension name: firestore-bigquery-export
  • Extension version: 0.1.51
  • Configuration values (redact info where appropriate):
    COLLECTION_PATH = ***
    TABLE_ID        = ***
    DATABASE                      =  ***
    DATABASE_REGION               = "eur3"
    DATASET_LOCATION              = "europe-west1"
    BIGQUERY_PROJECT_ID           = ***
    DATASET_ID                    =  ***
    MAX_DISPATCHES_PER_SECOND     = 255
    USE_NEW_SNAPSHOT_QUERY_SYNTAX = "yes"
    EXCLUDE_OLD_DATA              = "no"
    WILDCARD_IDS                  = "false"
    LOG_LEVEL                     = "info"
    MAX_ENQUEUE_ATTEMPTS          = 3
    VIEW_TYPE                     = "view"
    TABLE_PARTITIONING           = "DAY"
    TIME_PARTITIONING_FIELD      = "timestamp"
    TIME_PARTITIONING_FIELD_TYPE = "omit"

The Problem

The following error was thrown by the fsexportbigquery cloud function, that was generated by the firestore-bigquery-export extension.

Error when mirroring data to BigQuery FirebaseFunctionsError: Queue does not exist. If you just created the queue, wait at least a minute for the queue to initialize.
    at FunctionsApiClient.toFirebaseError (/workspace/node_modules/firebase-admin/lib/functions/functions-api-client-internal.js:305:16)
    at FunctionsApiClient.enqueue (/workspace/node_modules/firebase-admin/lib/functions/functions-api-client-internal.js:146:32)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async /workspace/lib/index.js:108:9 {
  errorInfo: {
    code: 'functions/not-found',
    message: 'Queue does not exist. If you just created the queue, wait at least a minute for the queue to initialize.'
  },
  codePrefix: 'functions'
}

This issue only occurred once so far in our setup. Previous and subsequent runs of fsexportbigquery did not throw this error. This issue happened at 2025-07-21T00:55:03.861724322Z. We did not recently make changes to the extension configuration. The extension has been running fine for months before this error was logged.

Steps to reproduce:

Unknown

Expected result

fsexportbigquery runs without throwing exceptions

Actual result

fsexportbigquery runs, and sometimes throws this exception

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions