- 通过写http调用模板消息接口发送模板消息为何报InvalidParameter错误?
我写的http请求如下所示 发送字符串:POST /cgi-bin/message/template HTTP/1.1 Host: api.weixin.qq.com Content-Type: application/json; encoding=utf-8 Content-Length: 208 Connection: Keep-Alive {"touser":"oagPg0pnyxnzaZJQ_BYAX-SP5jNs","template_id":"D-lZVW_k49CMS8jZ7Wdsf41Bi016Yl4qN3O8qeGQLd4","data":{"first":"你好,你的余额信息如下","keyword1":"300.00元","keyword2":"80.00元","keyword3":"220.00元"}} 然后回复确实错误的,如下所示 服务端返回数据:HTTP/1.1 200 OK Server: nginx Date: Fri, 05 Aug 2022 08:33:02 GMT Content-Type: application/json Content-Length: 157 Connection: keep-alive {"Response":{"Error":{"Code":"InvalidParameter","Message":"Url key and value should be splited by `=`."},"RequestId":"c8625748-66ab-4daf-9695-3c50037c0906"}}
2022-08-08 - 通过微信公众号接口调试工具调试向用户发送消息报错?
目前碰到公众号开发平台的问题。 1、通过微信公众号接口调试工具调试向用户发送消息,总是报Invalid message type这个错误,具体入下图所示 [图片] [图片]
2022-08-08