LocalStack

API Gateway integration timeout exceeds 29-second default limit

critical
configurationUpdated Mar 24, 2026
Technologies:
How to detect:

API Gateway REST API has a default maximum integration timeout of 29 seconds. Lambda functions or backend integrations that exceed this duration return HTTP 504 errors.

Recommended action:

For AWS Regional APIs and private APIs, increase the integration timeout beyond 29 seconds if needed. Note this may require reducing the AWS Account-level throttle quota limit. Consider implementing asynchronous invocation for long-running Lambda functions.