Skip to content

Error when mirroring data to BigQuery TypeError: Converting circular structure to JSON #236

@MrAlek

Description

@MrAlek

[REQUIRED] Step 2: Describe your configuration

  • Extension name: **firestore-bigquery-export
  • Extension version: 0.1.2

[REQUIRED] Step 3: Describe the problem

After running the initial setup and upon changing a field on a document in Firestore, the ext-firestore-bigquery-export-fsexportbigquery ran with the following error:

Error when mirroring data to BigQuery TypeError: Converting circular structure to JSON
    at JSON.stringify (<anonymous>)
    at events.map (/srv/node_modules/@firebaseextensions/firestore-bigquery-change-tracker/lib/bigquery/index.js:64:36)
    at Array.map (<anonymous>)
    at FirestoreBigQueryEventHistoryTracker.<anonymous> (/srv/node_modules/@firebaseextensions/firestore-bigquery-change-tracker/lib/bigquery/index.js:56:33)
    at Generator.next (<anonymous>)
    at fulfilled (/srv/node_modules/@firebaseextensions/firestore-bigquery-change-tracker/lib/bigquery/index.js:20:58)
    at <anonymous>
    at process._tickDomainCallback (internal/process/next_tick.js:229:7)

This is the document for which the error occured:

Skärmavbild 2020-03-22 kl  22 07 55

Metadata

Metadata

Labels

in-progressA fix or resolution is in progress

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions