Budibase / budibase

Low code platform for building business apps and workflows in minutes. Supports PostgreSQL, MySQL, MSSQL, MongoDB, Rest API, Docker, K8s, and more 🚀
https://budibase.com
Other
21.23k stars 1.43k forks source link

Not able to sync to Firestore #13950

Closed derrickshowers closed 2 days ago

derrickshowers commented 2 weeks ago

I'm unable to read from my Firestore database after connecting successfully. I'm receiving an error:

{
    "message": "function () {\n            const temp = Object.assign({}, this);\n            if (temp.credentials) {\n           ...<omitted>... } could not be cloned.",
    "status": 400
}

To Reproduce Steps to reproduce the behavior:

  1. Connect a new Firestore database. See it is connected successfully.
  2. Create a new query - something simple like read, collection name (I also tried a collection that doesn't exist and it's successful but empty, which I would expect, so it's correctly connected to the database)
  3. Tap "Run Query" to "Save"
  4. See error (above)

Expected behavior Error not to occur and records to be retrieved

Screenshots

image

linear[bot] commented 2 weeks ago

BUDI-8359 Not able to sync to Firestore

derrickshowers commented 2 weeks ago

One quick update, this appears to only happen for collections that have references (which is most of my collections)

STAR-173 commented 2 weeks ago

Hey @derrickshowers, Was looking into the issue but wasn't able to recreate it. Can you provide some additional info about the project and some more screenshots