小程序
小游戏
企业微信
微信支付
扫描小程序码分享
- 当前 Bug 的表现(可附上截图)
- 预期表现
- 复现路径
- 提供一个最简复现 Demo
调用set_user_storage得到错误信息 incorrect header check,以前都不会的,求解答
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
贴一下完整请求包
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
{"message":"incorrect header check","status":0,"engine":{"requestHeaders":{"Content-Type":"application/json;charset=utf-8","User-Agent":"fly/0.5.9"},"readyState":3,"timeout":0,"responseURL":"https://api.weixin.qq.com/wxa/set_user_storage?access_token=23_2Ci50F1kmMot8HbwPEguCt-mlnCj0r-QSdlinnkWp5B6H3cTXNB0H7Kcv5TM1D-fnMBj_GuczxdU2ot427P1POjWFb0xAJEc7muADaDVZnEa0jFUhb7xanNKjaRYJZZRIOlMhVxJI7gZ9SeMHPXeADARZH&signature=d10817b1871e353758cd233fc6d8786b0f44431285ca111d1499f51f7c1e21f7&openid=oWubb4v7xsldxJQiHKGOuYDW3Apg&sig_method=hmac_sha256","responseHeaders":{},"withCredentials":false,"method":"POST","responseType":"","_options":{"method":"POST","headers":{"Content-Type":"application/json;charset=utf-8"},"baseURL":"","timeout":0,"parseJson":true,"withCredentials":false,"body":{"kv_list":[{"key":"state","value":140}]},"url":"https://api.weixin.qq.com/wxa/set_user_storage?access_token=23_2Ci50F1kmMot8HbwPEguCt-mlnCj0r-QSdlinnkWp5B6H3cTXNB0H7Kcv5TM1D-fnMBj_GuczxdU2ot427P1POjWFb0xAJEc7muADaDVZnEa0jFUhb7xanNKjaRYJZZRIOlMhVxJI7gZ9SeMHPXeADARZH&signature=d10817b1871e353758cd233fc6d8786b0f44431285ca111d1499f51f7c1e21f7&openid=oWubb4v7xsldxJQiHKGOuYDW3Apg&sig_method=hmac_sha256"},"status":0}}
这是完整的报错信息,麻烦看下哪里有问题。
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
贴一下完整请求包
{"message":"incorrect header check","status":0,"engine":{"requestHeaders":{"Content-Type":"application/json;charset=utf-8","User-Agent":"fly/0.5.9"},"readyState":3,"timeout":0,"responseURL":"https://api.weixin.qq.com/wxa/set_user_storage?access_token=23_2Ci50F1kmMot8HbwPEguCt-mlnCj0r-QSdlinnkWp5B6H3cTXNB0H7Kcv5TM1D-fnMBj_GuczxdU2ot427P1POjWFb0xAJEc7muADaDVZnEa0jFUhb7xanNKjaRYJZZRIOlMhVxJI7gZ9SeMHPXeADARZH&signature=d10817b1871e353758cd233fc6d8786b0f44431285ca111d1499f51f7c1e21f7&openid=oWubb4v7xsldxJQiHKGOuYDW3Apg&sig_method=hmac_sha256","responseHeaders":{},"withCredentials":false,"method":"POST","responseType":"","_options":{"method":"POST","headers":{"Content-Type":"application/json;charset=utf-8"},"baseURL":"","timeout":0,"parseJson":true,"withCredentials":false,"body":{"kv_list":[{"key":"state","value":140}]},"url":"https://api.weixin.qq.com/wxa/set_user_storage?access_token=23_2Ci50F1kmMot8HbwPEguCt-mlnCj0r-QSdlinnkWp5B6H3cTXNB0H7Kcv5TM1D-fnMBj_GuczxdU2ot427P1POjWFb0xAJEc7muADaDVZnEa0jFUhb7xanNKjaRYJZZRIOlMhVxJI7gZ9SeMHPXeADARZH&signature=d10817b1871e353758cd233fc6d8786b0f44431285ca111d1499f51f7c1e21f7&openid=oWubb4v7xsldxJQiHKGOuYDW3Apg&sig_method=hmac_sha256"},"status":0}}
这是完整的报错信息,麻烦看下哪里有问题。