- 需求的场景描述(希望解决的问题)
云函数始终无法调用,该部署的都部署了,如终出现如下提示:
[云函数] [login] 调用失败 Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID , cloud function service error code -501005, error message Environment not found; at cloud.callFunction api;
at new u (WAService.js:1)
at d (WAService.js:1)
at Object.t.returnAsFinalCloudSDKError (WAService.js:1)
at Function.success (WAService.js:1)
at WAService.js:1
at k (WAService.js:1)
at i.<anonymous> (WAService.js:1)
at i.emit (WAService.js:1)
at Ya (WAService.js:1)
at WAService.js:1
我怀疑是“当前代码初始化的默认环境”有问题,我的始终显示是“当前代码初始化的默认环境为:my-env-id”
- 希望提供的能力
正常使用云函数