API Gateway Resource Policies

Thi API Gateway Resource policy troubleshooting guide is based on How API Gateway resource policy affect authorization workflow - https://docs.aws.amazon.com/apigateway/latest/developerguide/apigateway-authorization-flow.html How to use this guide 1. Identify the Authorization workflow applicable for your Use case 2. Based on authorization workflow and If API is accessed from same account or cross account , refer the Table A … Continue reading API Gateway Resource Policies

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

Amplify Console Build fails with FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory

Amplify console build failure FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory error could occur If application's node module requires more memory than the default memory limit of node.js At the writing of this article, Default size of container used by Amplify Console for build is approximately 7 … Continue reading Amplify Console Build fails with FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed – JavaScript heap out of memory