Amazon API Gateway 504 : Execution failed due to a network error communicating with endpoint

Amazon API Gateway 504 : Execution failed due to a network error communicating with endpoint could be caused by networking problems with integration. In VPC Link Private Integration and HTTP Integration such errors can be seen. COMMON REASONS for Amazon API Gateway 504 : Execution failed due to a network error communicating with endpoint 1.) … Continue reading Amazon API Gateway 504 : Execution failed due to a network error communicating with endpoint

Troubleshooting API Gateway Private API

This article focuses on Troubleshooting API Gateway Private API. Following are the common causes of restricted access to Private API Connectivity issues due to Amazon VPC security groups, NACL rules incorrectly configured.The invoke URL for the private APIPermission related issues due to API Gateway Resource and VPC Endpoint policy Before you start troubleshooting API Gateway … Continue reading Troubleshooting API Gateway Private API

500 Internal Server Error with Mock Integration

With Mock Integration Amazon API Gateway there are 2 common reasons for 500 Internal Server error. Check the mapping template in Integration Request and ensure that you are passing statusCode as an integer to the MOCK Integration endpoint. { "statusCode": <Integer_Status_code> } Note: Make sure that status code is passed as integer not string. Correct … Continue reading 500 Internal Server Error with Mock Integration

API Gateway : Error when creating Custom Domain Name : The certificate provided must be issued by ACM and not imported

Amazon API Gateway supports certificate-based mutual Transport Layer Security (TLS) authentication . Mutual TLS authentication requires two-way authentication between the client and the server. When using Custom Domain Names for API Gateway and enabling mutual TLS on custom domain name, There is a restriction as mentioned in AWS Documentation To enable mutual TLS, your domain … Continue reading API Gateway : Error when creating Custom Domain Name : The certificate provided must be issued by ACM and not imported

Amazon API Gateway 504: Execution failed due to a timeout error

As per the documentation, For Rest APIs 29 seconds Integration timeout limit is a hard limit which means it can’t be increased. For HTTP APIs the Integration timeout limit is 30 seconds LAMBDA INTEGRATION Workaround:You can asynchronously Invoke your backend to return a HTTP 202 status code which means that the request has been accepted … Continue reading Amazon API Gateway 504: Execution failed due to a timeout error