ReferenceError when writing to Firestore

When writing a new object to firestore, I am getting a ReferenceError: Buffer is not defined. I am getting this error from a “create record” node on a button.

Some searching around tells me this is possibly something to do with React? I am unable to get the debugger to connect, so I do not know how to further troubleshoot this issue

Was able to fix. Issue was that I was trying to save a JSON object. used the ENCODE_JSON() to make it a string.

Hi Nic,

I am having the same problem but not sure how you got it working.

Please could you assist me?

My database is as follows. Where do I insert the ENCODE_JSON?