收藏
回答

riskControl.getUserRiskRank 9.5日 9点开始大量报错?

返回结果

{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"TypeError: Do not know how to serialize a BigInt\n at JSON.stringify (\u003canonymous\u003e)\n at callback (/var/runtime/node12/CallbackContext.js:31:23)\n at /var/runtime/node12/CallbackContext.js:81:16\n at /var/runtime/node12/Runtime.engine.js:237:13\n at runMicrotasks (\u003canonymous\u003e)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)","statusCode":430}

日志

START

{

"function": "riskRank",

"mobileNo": "",

"scene": 1,

"userInfo": {

"appId": "wx44eb24af9894fa50",

"openId": "okOIf5PY5G8EQVTus1UM5P9Zg2S8"

}

}

ipv4:,ipv6:2409:8a20:ad2:d560:d0ff:1c:54:b6ae

REPORT RequestId:7bb1f75a-5df5-4b8e-baad-56545b164f03 Duration:239ms Memory:256MB MemUsage:39.146072MB

END

ERROR RequestId:7bb1f75a-5df5-4b8e-baad-56545b164f03 Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"TypeError: Do not know how to serialize a BigInt\n at JSON.stringify (\u003canonymous\u003e)\n at callback (/var/runtime/node12/CallbackContext.js:31:23)\n at /var/runtime/node12/CallbackContext.js:81:16\n at /var/runtime/node12/Runtime.engine.js:237:13\n at runMicrotasks (\u003canonymous\u003e)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)"}


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

1 个回答

  • 社区运营专员-wetingtu
    社区运营专员-wetingtu
    2022-09-06

    你好,报错user code exception caught,指的是使用者的代码出错,不为接口本身抛出的错误,请自行排查相关代码问题哈


    2022-09-06
    有用
    回复 1
    • Tai
      Tai
      2022-09-06
      代码没有改变,已经运行了几个月了突然大量报错。本地调试正常运行,线上都是报错。
      2022-09-06
      回复
登录 后发表内容