AWS API Gateway stage variables not working with error 500

Error:

Response Http status code: 500

{
    "message": "Internal server error"
}

Solved:

Update yourlambda:${stageVariables.lambdaAlias} before applying real environment string first!

For example:

  • 1. For applying DEV, click to update.

  • 2. Now you can use DEV with stageVariables.

Note:

Situation: For handling environment control to API Gateway and Lambda.

132 Comments

Leave a Reply

Your email address will not be published.


*