线上小程序获取本地存储时报错,通过onError接口捕捉到了错误日志。日志中包含了错误的具体信息和当前使用手机型号和微信客户端具体信息,具体错误日志如下:
"error": {
"errorMessage": "webviewSDKScriptError",
"description": "Failed get storage group metadata;getGlobalStorage:fail:data not found",
"detail": {
"1": "Error: Failed get storage group metadata",
"2": " at Ke (<anonymous>:4:20578)",
"3": " at <anonymous>:4:23185",
"4": " at Object.w (<anonymous>:1:2398)",
"5": " at Object.ret.invokeCallbackHandler (<anonymous>:21:28)",
"6": " at <anonymous>:1:67"
}
},
"currentPage": {
"__wxExparserNodeId__": "aa4f6e27",
"__route__": "pages/addPolicy/addPolicy",
"route": "pages/addPolicy/addPolicy",
"__displayReporter": {
"showOptions": {
"scene": 1005,
"scene_note": "::13817515574007588371:3849032081:1:1::1541070993942:::::64::3",
"sessionid": "SessionId@249656585#1541070993981",
"usedstate": 2,
"referpagepath": "com.tencent.mm.plugin.appbrand.report.model.h%24b%40ca0e2c8",
"clickTimestamp": 1541071291819,
"prescene": 0,
"prescene_note": "",
"publicLibVersion": "2.3.0",
"query": ""
},
"hideOptions": {
"targetAction": 7,
"targetPagePath": ""
},
"route": "pages/addPolicy/addPolicy",
"pageType": 2,
"deferred": [],
"showTimeStamp": 1541071449851,
"pageReadyTime": 1541071291945,
"lastSessionId": "SessionId@249656585#1541070993981",
"entrancePage": "pages/addPolicy/addPolicy",
"lastPageRoute": "pages/addPolicy/addPolicy"
},
"options": {}
},
"breadcrumb": {
"time": "2018/11/01 19:24:09",
"belong": "Page",
"route": "pages/addPolicy/addPolicy",
"options": {}
},
"networkType": "4g",
"systemInfo": {
"screenWidth": 360,
"statusBarHeight": 18,
"pixelRatio": 3,
"system": "Android 7.1.1",
"benchmarkLevel": 13,
"windowWidth": 360,
"deviceOrientation": "portrait",
"brand": "OPPO",
"version": "6.7.3",
"screenHeight": 640,
"fontSizeSetting": 16,
"language": "zh_CN",
"windowHeight": 574,
"model": "OPPO R11 Plusk",
"platform": "android",
"SDKVersion": "2.3.0"
}
}
貌似getGlobalStorage接口挂了,即使没有数据那么得到应该是个空字符串吧(根据接口自测,推测),出错页面调用的实际接口为:getStorageSync
这个问题在新的版本已经修复了,一部分没有更新到新的基础库用户可能还在抛,自动升级到新版本就没问题了
已经修复的新版本是微信哪个版本?
现在Android系统的微信最新版本不是6.7.3吗,这个日志中的微信版本就是6.7.3啊
基础库版本 2.3.1 及以上
2.3.1的推送计划是怎么样的?开始推送了吗?
基础库版本在 2.5.2 也遇到这样的问题了,求助
真的都解决了吗?为什么我们还是会接到大量的报错,Failed get storage group data, getGlobalStorage:fail:access denied。都是andriod,有7.0.5也有7.0.6,基础库2.8.0
我们的监控系统也突然监测到大量报错,小程序基础库2.4.4 ios
你好,麻烦提供下appid
wxaf85470efe4d2d53
我们的监控系统里也监控到很多这个错误,全是android手机,希望官方处理一下