云函数调用失败: Error: cloud.callFunction:fail Error: errCode: -501000 | errMsg: [100003] env not exists (73110277-3109-410e-8666-6b0a8798fd76) 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/cloud-admin#/copilot?q=INVALID_ENV (callId: 1734083041970-0.06901280321070802) (trace: 17:44:1 start->17:44:2 system error (Error: errCode: -501000 | errMsg: [100003] env not exists (73110277-3109-410e-8666-6b0a8798fd76) 请前往云开发AI小助手查看问题:https://tcb.cloud.tencent.com/cloud-admin#/copilot?q=INVALID_ENV), abort)
at O (<anonymous>:1:249136)
at <anonymous>:1:285173(env: Windows,mp,1.06.2409140; lib: 3.7.0)
app.js里有env id
wx.cloud.init({
env: "xx",
traceUser: true,
});
云函数里也有:
// 修改初始化方式,明确指定环境ID
cloud.init({
env: cloud.DYNAMIC_CURRENT_ENV
})