WeChat applet pays to get openid and {"errcode":40029,"errmsg":"invalid code, hints: [ req_id: PJo8ra07453119 ]"} appears. How to solve it
小公2018-09-04 21:12:23
During the development process of WeChat, when obtaining snsapi_userinfo based on the callback code, an error message {"errcode":40029,"errmsg":"invalid code"} was encountered. Later, it was found that the reason was because during the debugging process of its own internal service, the error message was The code is used twice, causing this error to be prompted. So, if anyone encounters this prompt, please be sure to check whether the code is used twice.