收藏
回答

h5 调用云函数报 error code -5010001?

返回结果

{"errorCode":1,"errorMessage":"user code exception caught","stackTrace":"Error: errCode: -501001 resource system error | errMsg: urlscheme.generate:fail Environment not found\n at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:425:19)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2358:28)","statusCode":430}

日志

START

REPORT RequestId:357c4326-87fa-43ff-b7cf-1f153d149c49 Duration:56ms Memory:256MB MemUsage:26.341827MB

END

ERROR RequestId:357c4326-87fa-43ff-b7cf-1f153d149c49 Result:{"errCode":1,"errMsg":"user code exception caught","stackTrace":"Error: errCode: -501001 resource system error | errMsg: urlscheme.generate:fail Environment not found\n at callGeneralOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:425:19)\n at processTicksAndRejections (internal/process/task_queues.js:97:5)\n at async callWXOpenAPI (/var/user/node_modules/wx-server-sdk/index.js:2358:28)"}


回答关注问题邀请回答
收藏
登录 后发表内容