微信小程序订阅推送消息报字段过长,检查文档并未超长
请求参数
{
"data": "{\"thing11\":{\"value\":\"温馨提示\"},\"thing5\":{\"value\":\"活动名称\"},\"date2\":{\"value\":\"2023-07-10 00:00:00\"}}",
"miniprogram_state": "developer",
"page": "/pages/listdetail/listdetail",
"template_id": "G9XGSU8hmLscOpJ-b7QfvlFNy-MreO27gCD3XchhYRE",
"touser": "odX245FoCdnzXhMYmFpMIhuTN5UQ"
}
返回错误:
{"errcode":47003,"errmsg":"argument invalid! data.thing5.value is empty rid: 64abe029-13298e28-54e75bdb"}
错误不是超长是为空,data用{} 别用字符串,不要用官方的测试网页。用postman测试