Hi everyone! I've been having a couple problems se...
# support
o
Hi everyone! I've been having a couple problems sending properties with
null
values to rudderstack. Any null properties are removed from the event by the JS SDK. Are null values not allowed? If yes, anyway I can workaround this?
m
Hey There! 👋 Your message has been received by the RudderStack team. We will forward this request to your Technical Account Manager, and they will get back to you shortly. Please use the thread for any additional comments.
Yes the SDK seems to be removing null values, but why do you want to send null values?
o
Because these are "Product View" events that I'm trying to send to GA4. And some products don't have a price available. But the field is required for that event.
m
Hi Lino, if you are sending the event via cloud-mode you could add the key in a user-transformation (https://github.com/rudderlabs/sample-user-transformers). Otherwise, you can set a default "value" since the value is mandatory as per google docs.