Api Gateway with Lambda Integration Failure

0

Most of time the request becomes success where my backend is deployed in Lambda and request is made through client to API gateway to Lambda. Randomly, Api gateway shows HTTPError **500 Internal server error INTEGRATION_FAILURE. **I looked cloudwatch and X ray but couldnot figure out what is causing this. Out of 1000 requests, sometimes 400 requests are success with 200 and remaining requests with Internal server error.

2 Respostas
0

I would recommend enabling execution logs on API Gateway and check the logs there for any failures. I would guess that it has something to do with the format of the response being sent from the Lambda function.

profile pictureAWS
ESPECIALISTA
Uri
respondido há 2 anos
  • I have enabled execution logs on Rest API gateway. While I send 500 requests through locust for same endpoint, more than 60 % comes HTTP 500 error and remaining only success. Here is the error log IP ADDRESS- - [05/Jan/2022:02:05:59 +0000] "POST /{proxy+} HTTP/1.1" 500 ID-Internal server errorINTEGRATION_FAILURE

    I have followed the link you shared and above error comes.

0

This problem is solved by increasing quota for concurrency.

respondido há 2 anos

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas