Google Tag Manager

Forum Discussion

Rajorigin's avatar
Rajorigin
Specialist
2 years ago

Unable to create a segment by using the date attribute in the nested object

Hi fellow bonfirerers, Hope you are all doing well.  I seek your inputs on the below... I am trying to create a segment using a Nested Custom Attribute. The array object is called 'accounts' and fr...
  • Rajorigin's avatar
    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)