如何解决数据库事务API提示CloudSDKError的错误?
在使用调用数据库事务API时,一直返回SDKError. 测试代码 [图片] 错误信息 index.js:37 transaction error CloudSDKError: errCode: -1 unknown error | errMsg: collection.add:fail Error:
400 Bad Request
; at collection.add api;
at returnAsCloudSDKError (C:\...\node_modules\wx-server-sdk\index.js:6057:16)
at Object.returnAsFinalCloudSDKError (C:\...\node_modules\wx-server-sdk\index.js:6071:15)
at Promise (C:\...\node_modules\wx-server-sdk\index.js:1201:32)
at processTicksAndRejections (internal/process/task_queues.js:86:5)