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

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