API with Lambda Integration Troubleshooting

Start Quiz

Study Flashcards

3 Questions

What should you do to troubleshoot an API with a Lambda integration that returns {"message":"Internal Server Error"}?

Check your Lambda function code

What should you do to ensure that API Gateway has the required permissions to invoke the Lambda function?

Grant permissions for API Gateway to invoke the Lambda function

What should you do to view the error message in your logs?

Add $context.integrationErrorMessage to the log format

Test your knowledge on troubleshooting an API with a Lambda integration that returns an 'Internal Server Error', ensuring API Gateway has required permissions to invoke the Lambda function, and viewing error messages in logs.

Make Your Own Quizzes and Flashcards

Convert your notes into interactive study material.

Get started for free

More Quizzes Like This

Use Quizgecko on...
Browser
Browser