首页
学习
活动
专区
工具
TVP
发布
社区首页 >问答首页 >微信小程序获取openid失败,云函数login调用失败errCode: -404011,什么原因?

微信小程序获取openid失败,云函数login调用失败errCode: -404011,什么原因?

提问于 2019-07-18 21:49:46
回答 0关注 0查看 2.5K

安装了node js 和npm,点击了上传并部署,login云函数存在并通过测试,当前环境也已配置好,为什么在点击获取openid时 还会出现如下错误?

[云函数] [login] 调用失败 Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail cloud function service error code -501005, error message Environment not found; 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=1563455284963:1395)

回答

和开发者交流更多问题细节吧,去 写回答
相关文章

相似问题

相关问答用户
领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档