START RequestId:b8d73340-9806-11eb-b6bd-525400be5245
2021-04-08T01:07:00.552Z (node:7) UnhandledPromiseRejectionWarning: Error: errCode: -604104 illegal sourceof invocation | errMsg: systemerror: error code: -604104at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:486:27)
at process._tickCallback (internal/process/next_tick.js:68:7)
2021-04-08T01:07:00.552Z (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, orby rejecting a promise which was not handled with .catch(). (rejection id: 1)
2021-04-08T01:07:00.553Z (node:7) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that arenot handled will terminate the Node.js process with a non-zero exit code.
2021-04-08T01:07:00.553Z (node:7) UnhandledPromiseRejectionWarning: Error: errCode: -604104 illegal sourceof invocation | errMsg: systemerror: error code: -604104at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:486:27)
at process._tickCallback (internal/process/next_tick.js:68:7)
2021-04-08T01:07:00.553Z (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async functionwithout a catch block, orby rejecting a promise which was not handled with .catch(). (rejection id: 2)
END RequestId:b8d73340-9806-11eb-b6bd-525400be5245
Report RequestId:b8d73340-9806-11eb-b6bd-525400be5245 Duration:203ms Memory:256MB MemUsage:30.187500MB
这是参数错误的错误码,贴下具体报错信息?
遇到了同样的问题,云端测试报501007错误。
线上触发报604104错误:
START RequestId:b8d73340-9806-11eb-b6bd-525400be5245 2021-04-08T01:07:00.552Z (node:7) UnhandledPromiseRejectionWarning: Error: errCode: -604104 illegal source of invocation | errMsg: system error: error code: -604104 at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:486:27) at process._tickCallback (internal/process/next_tick.js:68:7) 2021-04-08T01:07:00.552Z (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 1) 2021-04-08T01:07:00.553Z (node:7) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. 2021-04-08T01:07:00.553Z (node:7) UnhandledPromiseRejectionWarning: Error: errCode: -604104 illegal source of invocation | errMsg: system error: error code: -604104 at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:486:27) at process._tickCallback (internal/process/next_tick.js:68:7) 2021-04-08T01:07:00.553Z (node:7) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2) END RequestId:b8d73340-9806-11eb-b6bd-525400be5245 Report RequestId:b8d73340-9806-11eb-b6bd-525400be5245 Duration:203ms Memory:256MB MemUsage:30.187500MB
请指点迷津