question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

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

See original GitHub issue

[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

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:10 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
MrAlekcommented, Mar 23, 2020

Here’s the full log: image

0reactions
laurenzlongcommented, Apr 23, 2020

The fix is now live in v0.1.4 of the extension, you can update your extension by following the instructions in https://firebase.google.com/docs/extensions/manage-installed-extensions?platform=console#update-version. Please create a new issue if you still experience problems. Thanks for filing!

Read more comments on GitHub >

github_iconTop Results From Across the Web

"Converting circular structure to JSON" BigQuery Insert from ...
I am trying to load array of json objects to BigQuery Table from Cloud Function written in NodeJs. I get the error "Converting...
Read more >
Converting Circular Structure To Json Firebase - ADocLib
I'm getting Uncaught TypeError: Converting circular structure to JSON in Chrome ... Error when mirroring data to BigQuery TypeError: Converting circular ...
Read more >
[SSR]Type Error: Converting circular structure to JSON
Hello. I created a program that used v-for nesting with Vue.js 2.5.8 and vue-server-renderer. However, “TypeError: Converting circular ...
Read more >
Changelog — great_expectations documentation
Enable passing dataset kwargs through datasource via dataset_options batch_kwarg. Fix AttributeError when validating expectations from a JSON file. Data Docs: ...
Read more >
12538e48d88850206287a1eee...
The script to progressively add data to BigQuery is not available yet. ... schema_type): + """Convert value to a string based on JSON...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found