api: wx.serviceMarket.invokeService({
service: 'wxee446d7507c68b11',
api: 'imgSecCheck',
data: {
"Action": "ImageModeration",
"Scenes": ["PORN", "POLITICS", "TERRORISM", "TEXT"],
"ImageUrl": '',
"ImageBase64": wx.getFileSystemManager().readFileSync(tempFilePath, "base64"),
"Config": "",
"Extra": ""
}
})
错误信息:Error: errCode: 104 | errMsg: invokeService:fail timeout for retry, cannot retry fetching the result anymore (callId: 0.300845639719832_1595334956377) (trace: 20:35:56 start->20:35:56 app show->20:36:16 timeout, exceed max retry gap); at invokeService api;
在开发工具中可以正常识别,但是在真机中出现104错误,请问解决办法是什么?
老哥,我也遇到了同样的问题。你是不是直接预览的小程序。你上传为体验版就可以正常使用了。