收藏
回答

云函数调用出错?

Error: errCode: -404011 cloud function execution error | errMsg: cloud.callFunction:fail requestID f0d0c03a-11a8-11ea-8d7f-52540025df0e, cloud function service error code -504002, error message Unexpected token o in JSON at position 1

SyntaxError: Unexpected token o in JSON at position 1

    at JSON.parse (<anonymous>)

    at EventHandler.exports.main [as realHandler] (:35375/var/user/index.js:17)

    at <anonymous>

    at process._tickCallback (:35375/appservice/internal/process/next_tick.js:188); at cloud.callFunction api; 

    at new u (VM5756 WAService.js:1)

    at d (VM5756 WAService.js:1)

    at f (VM5756 WAService.js:1)

    at Function.success (VM5756 WAService.js:1)

    at VM5756 WAService.js:1

    at C (VM5756 WAService.js:1)

    at i.<anonymous> (VM5756 WAService.js:1)

    at i.emit (VM5756 WAService.js:1)

    at $i (VM5756 WAService.js:1)

    at VM5756 WAService.js:1


回答关注问题邀请回答
收藏

2 个回答

  • 333
    333
    2019-11-28

    感觉好像是小程序内部的为题, 云开发BUg太多,我云函数调用的时候经常报错,我都不想用云函数了

    2019-11-28
    有用 1
    回复
  • o0o有脾气的酸奶
    o0o有脾气的酸奶
    2019-11-28

    JSON解析报错了

    2019-11-28
    有用 1
    回复 1
    • 333
      333
      2019-11-28
      谢谢!!
      2019-11-28
      回复
登录 后发表内容
问题标签