云函数调用的时候报错,只有一个函数出了问题,其他没有,好像是数据库授权问题,求解
[云函数] [getRecord] : Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID 2cb63002-90d3-11ea-bbe2-52540042b19b, cloud function service error code -504002, error message errCode: -502001 database request fail | errMsg: [FailedOperation.ListTable] auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.;
Error: errCode: -502001 database request fail | errMsg: [FailedOperation.ListTable] auth error: sasl conversation error: unable to authenticate using mechanism "SCRAM-SHA-1": (AuthenticationFailed) Authentication failed.;
at Object.returnAsCloudSDKError (:41176/var/user/node_modules/wx-server-sdk/index.js:6121)
at Object.checkError (:41176/var/user/node_modules/wx-server-sdk/index.js:1418)
at Promise (:41176/var/user/node_modules/wx-server-sdk/index.js:1486)
at <anonymous>
at process._tickCallback (:41176/appservice/internal/process/next_tick.js:188); at cloud.callFunction api;
at new u (VM226 WAService.js:2)
at d (VM226 WAService.js:2)
at f (VM226 WAService.js:2)
at Function.success (VM226 WAService.js:2)
at VM226 WAService.js:2
at E (VM226 WAService.js:2)
at i.<anonymous> (VM226 WAService.js:2)
at i.emit (VM226 WAService.js:2)
at Ii (VM226 WAService.js:2)
at VM226 WAService.js:2