You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm attempting to POST a subscriber and declare a value for the marketing_permissions field at the same time, but the Mailchimp API response is insisting that the value I'm providing for the marketing_permissions field is not an array.
But it is most certainly an array, as illustrated here:
Array
(
[type] => http://developer.mailchimp.com/documentation/mailchimp/guides/error-glossary/
[title] => Invalid Resource
[status] => 400
[detail] => The resource submitted could not be validated. For field-specific details, see the 'errors' array.
[errors] => Array
(
[0] => Array
(
[field] => marketing_permissions
[message] => This value should be of type array
)
)
)
Anyone have any idea why the MC API won't accept my array as an array?
The text was updated successfully, but these errors were encountered:
I'm attempting to POST a subscriber and declare a value for the
marketing_permissions
field at the same time, but the Mailchimp API response is insisting that the value I'm providing for themarketing_permissions
field is not an array.But it is most certainly an array, as illustrated here:
And the response I'm getting from the MC API is:
Anyone have any idea why the MC API won't accept my array as an array?
The text was updated successfully, but these errors were encountered: