[help] Wechat successfully configured config, but called Wechat interface but reported an error value is offline verifying!

Overview of the problem: when a single-page application calls Wechat"s chooseImage API, it reports an error and prompts "the permission value is offline verifying".

debugging according to the common errors and solutions in the appendix of Wechat"s JS-SDK documentation. The debugging process is as follows:
1. When calling permission configuration wx.config, turn on debug mode and prompt "config:ok".

2wx.checkJsApichooseImageapi

3chooseImage"the permission value is offline verifying"

Boss, ask for help, hug your thighs!


is not called in your public number, permission is limited

https://www.jianshu.com/p/47d.


it may be that your official account JS security domain name is inconsistent with your server domain name


wx.ready (function () {

wx.chooseImage()

})

Menu