API Gateway Common HTTP Errors

Some of the common error for API Gateway

  • 4xx client error
    • 400: Bad request
    • 403: Access denied
    • 429: Quota exceeded, Throttle
  • 5xx Server error
    • 502: Bad Gateway Exception
      • Usually mean incompatible output from Lambda proxy integration
      • Or also out-of-order invocations due to heavy loads
    • 503: Service Unavailable Exception
    • 504: Integration Failure
      • Endpoint Request Timed-out Exception (API Gateway time out after 29 seconds maximum)