我也遇到了同样的问题
[云函数] [login] 调用失败 Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail cloud function service error code -501006, error message SessionToken missing; at cloud.callFunction api;
at new t (WAService.js:22)
at o (WAService.js:22)
at Object.i [as returnAsFinalCloudSDKError] (WAService.js:22)
at Function.success (WAService.js:21)
at Object.success (WAService.js:4)
at L.<anonymous> (WAService.js:7)
at L.emit (WAService.js:8)
at Function.<anonymous> (WAService.js:12)
at WAService.js:6
at n (appservice?t=1563953988600:1395)
[info] 函数被触发,正在执行中…
node.js:1 [error] 函数执行失败(耗时 6ms) Error: errCode: -1 unknown error | errMsg: document.remove:fail Error: missing secretId or secretKey of tencent cloud; at document.remove api;
at new CloudSDKError (D:\svn\App\wxapp_blemesh\node_modules\wx-server-sdk\index.js:6360:28)
at returnAsCloudSDKError (D:\svn\App\wxapp_blemesh\node_modules\wx-server-sdk\index.js:6412:16)
at Object.returnAsFinalCloudSDKError (D:\svn\App\wxapp_blemesh\node_modules\wx-server-sdk\index.js:6426:13)
at DocumentReference.<anonymous> (D:\svn\App\wxapp_blemesh\node_modules\wx-server-sdk\index.js:1610:40)
at step (D:\svn\App\wxapp_blemesh\node_modules\tslib\tslib.js:136:27)
at Object.throw (D:\svn\App\wxapp_blemesh\node_modules\tslib\tslib.js:117:57)
at rejected (D:\svn\App\wxapp_blemesh\node_modules\tslib\tslib.js:108:69)
at processTicksAndRejections (internal/process/task_queues.js:86:5)