Sending JSON to a firestore DB



  • Update my firestore DB with a well formatted data.

What I have right now in firestore:

I can then see that data in a retool table:

And then I try to save the exact same information:

But then I get this in firestore:

I tried to transform the data into Json before updating firebase, but then I get this:

Still not what I wanted.

How can I add the data back to it's original format in firebase?

Thank you in advance.

Hey @pedrocarloto!

Can you try passing {{}} without wrapping it in quotes? It looks like either way the value is being converted to a string before being passed to firebase, passing an object directly might prevent that:

1 Like

Thank you so much @Kabirdas!

Such a simple mistake that was causing so much trouble!