我正在使用“操场”来测试创建细分,但我不断收到验证错误
我的请求:
{
"name": "MyTest",
"options": {
"match": "any",
"conditions": [
{
"field": "EMAIL",
"op": "is",
"value": "p001@mymaildomain.xxx"
},
{
"field": "EMAIL",
"op": "is",
"value": "p002@mymaildomain.xxx"
}
]
}
}
回应是:
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.