返回结果
{"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)"}
你好,报错user code exception caught,指的是使用者的代码出错,不为接口本身抛出的错误,请自行排查相关代码问题哈