在api网关中测试lambda函数时,我得到以下错误消息。让我在这里给出一些背景我在做什么。如果你还有其他细节,请告诉我。serverless.ymlplugins: ${file(.- serverless-pseudo-parameters
#Testing otherwise has to be remo
我将AWS Lambda集成到API Gateway中。context.fail(JSON.stringify({ errors: 'This is definitely the same endpoint.'}; 我在APIGateway的method response中添加了HTTP status 500响应,并使用regex *"status": 500 .方法测试似乎表明我的集成响应和方法响应设置是正确的,并且我的正则表达式设置正确,但