An application uses Amazon API Gateway integrated with an AWS Lambda function. Some API requests return HTTP 504 (Gateway Timeout) errors.
The Lambda function timeout is set to 20 seconds. The API Gateway integration timeout is 15 seconds. There are no errors in the Lambda logs.
Which solution will prevent the HTTP 504 errors?
Submit