为了账号安全,请及时绑定邮箱和手机立即绑定

-404011 cloud function 出现错误

Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail cloud function service error code -504002, error message error is not defined; 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 e (appservice?t=1559396243951:3991)

console.error @ VM8663:1

(anonymous) @ movie.js:20

Promise rejected (async)

onLoad @ movie.js:15

(anonymous) @ WAService.js:19

$t @ WAService.js:19

on @ WAService.js:20

sn @ WAService.js:20

(anonymous) @ WAService.js:20

(anonymous) @ WAService.js:19

L.emit @ WAService.js:8

emit @ WAService.js:6

(anonymous) @ WAService.js:9

(anonymous) @ WAService.js:6

e @ appservice?t=1559396243951:3991

n.registerCallback.t @ appservice?t=1559396243951:3991

u.forEach.t @ appservice?t=1559396243951:3991

(anonymous) @ appservice?t=1559396243951:3991

a.onmessage @ appservice?t=1559396243951:3991

https://img1.sycdn.imooc.com//5cf2808b0001dc9307160259.jpg

正在回答

2 回答

从错误码上看是云函数执行失败。检查下你的云函数中是否有用到error这个变量,看错误提示说error未定义。领带在then中的res也没有定义。

0 回复 有任何疑惑可以回复我~

rp(`http://api.douban.com/v2/movie/in_theaters?apikey=0df993c66c0c636e29ecbb5344252a4a&start=${event.start}&count=${event.count}`)


1 回复 有任何疑惑可以回复我~

举报

0/150
提交
取消

-404011 cloud function 出现错误

我要回答 关注问题
意见反馈 帮助中心 APP下载
官方微信