{"errcode":40029,"errmsg":"invalid code, rid: 64f68fca-3ddd2f5c-07a1f46d"}
时间: 2023-09-13 07:04:23 浏览: 114
错误代码显示
根据提供的引用内容,{"errcode":40029,"errmsg":"invalid code, rid: 64f68fca-3ddd2f5c-07a1f46d"}是微信网页授权步骤中出现的错误信息,提示code无效。根据引用中的描述,这个错误可能是由于传递给后端的code大小写不匹配导致的。请检查一下你的代码是否将传递给后端的code强制处理为小写。这个问题可能会导致整个过程都无法正常进行。同时,根据引用中提供的解决方法,当MySQL启动报错时,可能出现File ./mysql-bin.index not found (Errcode: 13)的错误。如果你遇到了这个问题,可以参考该引用中的解决方法来解决。另外,根据引用,获取用户信息时需要发送encryptedData,errMsg,iv和code给后端测试,并通过code获取openid和session_key。<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* [微信网页授权报错{errcode:40029,errmsg:invalid code}](https://blog.csdn.net/weixin_44312227/article/details/127791356)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *2* [MySQL 启动报错:File ./mysql-bin.index not found (Errcode: 13)](https://download.csdn.net/download/weixin_38742532/12832110)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
- *3* [微信小程序 报错errcode: 40029, errmsg: “invalid code](https://blog.csdn.net/qq_37916164/article/details/115523755)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v93^chatsearchT3_2"}}] [.reference_item style="max-width: 33.333333333333336%"]
[ .reference_list ]
阅读全文