【发布时间】:2019-11-27 09:35:47
【问题描述】:
将批处理操作发布到 Mailchimp 我不断收到“架构描述对象,找到 NULL”错误。我在他们的 mailchimp 游乐场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\": \"$250\",
\"MMERGE3\": \"Global Production\",
\"MMERGE4\": \"96959N\"
\"MMERGE5\": \"13d215\",
\"MMERGE6\": \"ABC, Inc.\"
}
}"
}]}
【问题讨论】:
标签: mailchimp mailchimp-api-v3.0