Mailchimp Batch 提交的资源无法验证数组架构描述对象,而是找到 NULL
Mailchimp Batch the resource submitted could not be validated array Schema describes object, NULL found instead
向 Mailchimp 发送批处理操作时我不断收到 "schema describes object, NULL found instead" 错误。我在 mailchimp playground https://us10.api.mailchimp.com/playground/ 中收到错误。直到几周前,它还可以正常工作一年,然后就停止了。
响应正文:
{"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.","instance":"70a5c431-1cc4-4933-a5c9-2ab84ed06263","errors":[{"field":"","message":"Schema describes object, NULL found instead"}]}
我已经尝试删除空格、合并字段并检查以确保合并字段匹配 mailchimp 列表并验证 listID 匹配正确的列表。
还有其他建议吗?
谢谢
{"operations": [{
"method": "POST",
"path": "lists/436db7f77acd/members",
"body": "{\"email_address\":\"yahoo@yahoo.com\", \"status\":\"subscribed\"
,\"tags\":[\"Green Standard\", \"Customer Care\",\"96959N\"]
,\"merge_fields\": {
\"BADGE\": \"\",
\"CPATH\": \"https://secu/Certificate/96959N_0978317_Certificate.pdf\",
\"FNAME\": \"Charles\",
\"FRAME\": \"Coupon Code: 1CZ3d17 Expires: 12/31/2019\",
\"FRAMEHEAD\": \"Certificate\",
\"LNAME\": \"Gren\",
\"MKAL\": \"17MA19\",
\"MKAMT\": \"0\",
\"MMERGE3\": \"Global Production\",
\"MMERGE4\": \"96959N\"
\"MMERGE5\": \"13d215\",
\"MMERGE6\": \"ABC, Inc.\"
}
}"
}]}
删除所有不必要的空格、制表符和空格后,它现在可以工作了。
https://jsonlint.com 很有帮助
向 Mailchimp 发送批处理操作时我不断收到 "schema describes object, NULL found instead" 错误。我在 mailchimp playground https://us10.api.mailchimp.com/playground/ 中收到错误。直到几周前,它还可以正常工作一年,然后就停止了。
响应正文:
{"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.","instance":"70a5c431-1cc4-4933-a5c9-2ab84ed06263","errors":[{"field":"","message":"Schema describes object, NULL found instead"}]}
我已经尝试删除空格、合并字段并检查以确保合并字段匹配 mailchimp 列表并验证 listID 匹配正确的列表。
还有其他建议吗?
谢谢
{"operations": [{
"method": "POST",
"path": "lists/436db7f77acd/members",
"body": "{\"email_address\":\"yahoo@yahoo.com\", \"status\":\"subscribed\"
,\"tags\":[\"Green Standard\", \"Customer Care\",\"96959N\"]
,\"merge_fields\": {
\"BADGE\": \"\",
\"CPATH\": \"https://secu/Certificate/96959N_0978317_Certificate.pdf\",
\"FNAME\": \"Charles\",
\"FRAME\": \"Coupon Code: 1CZ3d17 Expires: 12/31/2019\",
\"FRAMEHEAD\": \"Certificate\",
\"LNAME\": \"Gren\",
\"MKAL\": \"17MA19\",
\"MKAMT\": \"0\",
\"MMERGE3\": \"Global Production\",
\"MMERGE4\": \"96959N\"
\"MMERGE5\": \"13d215\",
\"MMERGE6\": \"ABC, Inc.\"
}
}"
}]}
删除所有不必要的空格、制表符和空格后,它现在可以工作了。 https://jsonlint.com 很有帮助