cloud.callFunction:fail requestID bc7b8e95-734f-11ea-a884-5254002fa145, cloud function service error code -504002, error message errCode: -502005 database collection not exists | errMsg: [ResourceNotFound] Db or Table not exist. Please check your request, but if the problem cannot be solved, contact us.;
Error: errCode: -502005 database collection not exists | errMsg: [ResourceNotFound] Db or Table not exist. Please check your request, but if the problem cannot be solved, contact us.;
at Object.returnAsCloudSDKError (/var/user/node_modules/wx-server-sdk/index.js:6086:16)
at Object.checkError (/var/user/node_modules/wx-server-sdk/index.js:1397:23)
at Promise (/var/user/node_modules/wx-server-sdk/index.js:1527:33)
at <anonymous>
at process._tickCallback (internal/process/next_tick.js:188:7); at cloud.callFunction api;
上面是报错信息
app.js里已经设置对了env,需要的数据表也建了,所有表的权限也设置成了
但是还是报没有数据表的错误,有谁遇到过呢?谢谢~
app.js设置对了,难道你云函数也设置对了?你有几个环境?