{"id":604,"date":"2023-02-26T10:33:39","date_gmt":"2023-02-26T02:33:39","guid":{"rendered":"https:\/\/www.appblog.cn\/?p=604"},"modified":"2023-04-29T20:25:05","modified_gmt":"2023-04-29T12:25:05","slug":"wechat-official-platform-sends-customer-service-message-interface-debugging","status":"publish","type":"post","link":"https:\/\/www.appblog.cn\/index.php\/2023\/02\/26\/wechat-official-platform-sends-customer-service-message-interface-debugging\/","title":{"rendered":"\u5fae\u4fe1\u516c\u4f17\u5e73\u53f0\u53d1\u9001\u5ba2\u670d\u6d88\u606f\u63a5\u53e3\u8c03\u8bd5\u586b\u5751"},"content":{"rendered":"<h2>40003 invalid openid<\/h2>\n<p>openid\u548caccess_token\u5747\u6ca1\u95ee\u9898\uff0c\u5374\u59cb\u7ec8\u8fd4\u56de\u9519\u8bef\uff1a<\/p>\n<p><!-- more --><\/p>\n<pre><code class=\"language-json\">{\n    &quot;errcode&quot;: 40003, \n    &quot;errmsg&quot;: &quot;invalid openid&quot;\n}<\/code><\/pre>\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>\u53c2\u8003\u5b98\u65b9\u6587\u6863\u6848\u4f8b\uff1a<a target=\"_blank\" rel=\"noopener\" href=\"https:\/\/mp.weixin.qq.com\/wiki?t=resource\/res_main&amp;id=mp1421140547\">https:\/\/mp.weixin.qq.com\/wiki?t=resource\/res_main&#038;id=mp1421140547<\/a><\/p>\n<pre><code class=\"language-json\">{\n    &quot;touser&quot;: &quot;OPENID&quot;,\n    &quot;msgtype&quot;: &quot;image&quot;,\n    &quot;image&quot;:\n    {\n        &quot;media_id&quot;: &quot;MEDIA_ID&quot;\n    }\n}<\/code><\/pre>\n<p><strong><font color=#FF0000>\u6ce8\u610ftouser\u4e3a\u5c0f\u5199\uff01\uff01\uff01msgtype\u4e5f\u4e3a\u5c0f\u5199<\/font><\/strong><\/p>\n<h2>44004 empty content<\/h2>\n<pre><code class=\"language-json\">{\n    &quot;errcode&quot;: 44004,\n    &quot;errmsg&quot;: &quot;empty content&quot;\n}<\/code><\/pre>\n<p>\u89e3\u51b3\u529e\u6cd5\uff1a<\/p>\n<p>\u8fd8\u662f\u4ed4\u7ec6\u67e5\u9605\u5b98\u65b9\u6587\u6863\uff0c\u9700\u6dfb\u52a0\u4e0e&quot;touser&quot;\u548c&quot;msgtype&quot;\u540c\u7ea7\u7684&quot;text&quot;\u5b57\u6bb5\uff0c\u5305\u88f9&quot;content&quot;\u5b57\u6bb5<\/p>\n<pre><code class=\"language-json\">{\n    &quot;touser&quot;: &quot;OPENID&quot;,\n    &quot;msgtype&quot;: &quot;text&quot;,\n    &quot;text&quot;:\n    {\n        &quot;content&quot;: &quot;Hello World&quot;\n    }\n}<\/code><\/pre>\n","protected":false},"excerpt":{"rendered":"<p>40003 invalid openid openid\u548caccess_token\u5747\u6ca1\u95ee\u9898\uff0c\u5374\u59cb\u7ec8\u8fd4\u56de\u9519\u8bef\uff1a { [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[45],"tags":[],"class_list":["post-604","post","type-post","status-publish","format-standard","hentry","category-wechat-mp"],"_links":{"self":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/604","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/comments?post=604"}],"version-history":[{"count":0,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/posts\/604\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/media?parent=604"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/categories?post=604"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.appblog.cn\/index.php\/wp-json\/wp\/v2\/tags?post=604"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}