I'm using the "playground" to test creating a segment but I keep getting validations errros
my request:
{
"name": "MyTest",
"options": {
"match": "any",
"conditions": [
{
"field": "EMAIL",
"op": "is",
"value": "[email protected]"
},
{
"field": "EMAIL",
"op": "is",
"value": "[email protected]"
}
]
}
}
response is:
type: http://kb.mailchimp.com/api/error-docs/400-invalid-resource
title: Invalid Resource
status: 400
detail: The resource submitted could not be validated. For field-specific details, see the 'errors' array.
instance:
errors:
0:
field: options.conditions.item:0
message: Data did not match any of the schemas described in anyOf.
1:
field: options.conditions.item:1
message: Data did not match any of the schemas described in anyOf.