原因: FUNCTION_ERROR_INIT_FAILURE.上一次活动的C:\Users\theod\AppData\Roaming\npm\node_modules\serverless\lib\\lib\plugins\aws\lib\monitorStack.js:28:12) at C:\Users\theod\AppData\Roaming\npm\node_modules\serverless\lib\plugins\aws\lib\updateStack.js:107:28以前的活动:在AwsDeploy
我将AWS Lambda集成到API Gateway中。context.fail(JSON.stringify({ errors: 'This is definitely the same endpoint.'}; 我在APIGateway的method response中添加了HTTP status 500响应,并使用regex *"status": 500 .方法测试似乎表明我的集成响应和方法响应设置是正确的,并且我的正则表达式设置正确,但