云函数本地调试无法读写数据库?
云函数本地调试时,无论云数据库的权限设置如何,都会报如下错误
CloudSDKError: errCode: -1 unknown error | errMsg: collection.get:fail Error:
400 Bad Request
; at collection.get api;
at returnAsCloudSDKError (\node_modules\wx-server-sdk\index.js:6086:16)
at Object.returnAsFinalCloudSDKError (\node_modules\wx-server-sdk\index.js:6100:15)
at Promise (\index.js:1472:32)
at processTicksAndRejections (internal/process/task_queues.js:86:5)