Skip to content

Attributes object doesn't support _merge_objects flag because it's not an array #180

@JamesFX2

Description

@JamesFX2

foreach() argument must be of type array|object, bool given in vendor/braze/sdk/lib/Normalizer/UsersTrackPostBodyNormalizer.php on line 106

The attribute body supports a semi-undocumented feature called _merge_objects
Attributes being https://www.braze.com/docs/api/objects_filters/user_attributes_object an object in the array of attributes sent by the Track Users endpoint.

Use to update a nested custom attribute
Use to update a object in an array of objects

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions