Forum Discussion
Custom Attribute with Date not filtering
- 11 months ago
Hi DavidO!
Thanks for your reply!
After talking with Braze Technical Support, they found the problem. Looks like the API config wasn't set up correctly.
This is the proper code:
"custom_attribute_with_date": {"$time" : "2024-03-10"}After the ' "$time": ' tag, everything goes with the ISO 8601 format, as we said on previous messages.I hope that this helps anyone else with this issue 😊
Hi RenzoM!
We use several Custom Attribute fields for date/timestamps and populate the full timestamp:
Ex: Apr 07 2022 10:48 am -04:00
Have you tried testing when using both the date and time in this field? Also noting that our date format is different from yours (but am not sure if this is indeed correct!).
- RenzoM11 months agoPractitioner
Hi LizBordonaro!
Thanks for your reply. I tried populating the field with the format you provided and still doesn't work. With date and time too.
By any chance do you info on how your custom attribute field was configured? Do you use ISO 8601 format?
Thanks!- LizBordonaro11 months agoActive Member II
You're most welcome!
I can see we're bringing the attribute in as the data type time, but the format isn't specified in our internal data model. It does not appear to be in ISO 8601 format.
- RenzoM11 months agoPractitioner
Oh ok, thank you! We'll see if someone else has gone through this kind of problem while we wait for a technical support reply 🙂
Related Content
- 9 months ago
- 2 years ago
- 8 months ago