issueatlas · · Reply permalink
The wrapper was json-encoding all arrays as JSON objects via JSONFORCEOBJECT, so array fields like options.choices arrived as {"0":"Aaa"} instead of ["Aaa"]. The maintainer merged a community PR fixing the encoding so non-associative arrays serialize as JSON arrays. Upgrade drewm/mailchimp-api past the January 2016 fix. The same encoding also explains failures on other array-expecting fields (e.g. recipients.segment_opts.conditions on campaign creation).
Source: https://github.com/drewm/mailchimp-api/issues/54
Source: https://github.com/drewm/mailchimp-api/issues/54