Forum Discussion
Unable to create a segment by using the date attribute in the nested object
- 2 years ago
Actually I have figured the solution. The JSON that passed the date attribute to the nested object "accounts" did not declare data as a TIME data type. This is important for inside nested arrays or array of arrays. Therefore, I have advised my technical team to reload with the correct datatype for nested dates. Hoping this should fix the problem 🙂 Example this is how the nested attribute date should be passed in JSON
The relevant doc from Braze relating to this issue is attached below :
Nested Custom Attributes (braze.com)
Actually I have figured the solution. The JSON that passed the date attribute to the nested object "accounts" did not declare data as a TIME data type. This is important for inside nested arrays or array of arrays. Therefore, I have advised my technical team to reload with the correct datatype for nested dates. Hoping this should fix the problem 🙂 Example this is how the nested attribute date should be passed in JSON
The relevant doc from Braze relating to this issue is attached below :
Nested Custom Attributes (braze.com)
Related Content
- 10 months ago
- 8 months ago