进行接口调试时,只要使用参数进行请求,就是报
{
"errcode": 1019,
"errmsg": "data encrypt is incorrect, please check the doc."
}
请求链接:
https://openai.weixin.qq.com/openapi/setautoreply/wTqwIIcdBjl6I2A3cB0LBtex1WQPQf
请求参数:
encrypt:
<xml><Encrypt><![CDATA[HEBB1GZg0RsUe7eFcuO4qOc/4zhtNtV/0n0Afa9Qs5PxYysz6UMXJKwvGbmH1wQOQBC/rCnKxMv9upAabODg6NzGLwMT3Mx29eDmOkAY7VlSt8ttrbBYpfJBg0nH4MQAjR46T81wCyu8o2de6XHUkS294UgCM1dpWuEcVnlURj5IGWdvpSjXnHEmGb6cA3Vq1AVihGIB0Rixk6kbHjUVQ2ydjoGu1LEf6Bcx4kB20QwIget4yIGJUvF5eBNab8BlUmWXYkVB+EnBIW2+rU8SVj7G1ZS5v3rYMzBdK3IOiEYndkaXahLTQtuPYSfRUnJGB/yGkYsFO6jonKaoMseyfyL69SSunxvcgHgGRObfKmwqOQMJPRn/eH4VTF2+q2NUpKwzf3JI2Xc0RIQ0XDvi/7FHYrffUjLqj++OJBWn7RB1DDroAKpms51NfjH8zySPmToZgrj9sutD67XFdZEDFN3t/jFBuiAvminMPncLhpy+gY4Mfj8WI8JarYGmDHDh]]></Encrypt><MsgSignature><![CDATA[d9a3d88d41b47545ea96b985487c3c4e91b1e2d1]]></MsgSignature><TimeStamp>1627458578</TimeStamp><Nonce><![CDATA[ko3bCuNmVv]]></Nonce></xml>
python和nodejs代码参考 https://github.com/choogoo/WXBizMsgCrypt
您好,接口已测试,未复现问题,请您再试试~