以下报错信息:
CloudSDKError: errCode: -1 unknown error | errMsg: document.update:fail Error:
400 Bad Request
; at document.update api;
at returnAsCloudSDKError
at Object.returnAsFinalCloudSDKError
使用的SDK: "wx-server-sdk": "^1.8.0"
调用代码:
await transaction.collection('xx')
.doc(toOverIdArr[p]).update({
data: {
isRunning: false
}
}).then(res => {
isUpdateOk = (res || {}).errMsg === updateOKMsg
console.log(res)
}).catch(e => {
console.error('toOverIdArr', e)
})
另外这个
AppId: wxfb71b7163881e777
envId: test-1f41cf
帮看下什么解决吧