Help us improve the AWS re:Post Knowledge Center by sharing your feedback in a brief survey. Your input can influence how we create and update our content to better support your AWS journey.
How do I find 5xx errors from API Gateway in my CloudWatch logs?
2 minute read
0
I see 5xx errors in my Amazon API Gateway CloudWatch metrics. I want to find specific 5xx errors from API Gateway in my Amazon CloudWatch logs to troubleshoot.
API Gateway CloudWatch metrics show the number of 5xx server-side errors captured in a given period. To identify specific 5xx errors from API Gateway, do the following:
Enable execution logging and access logging in your Amazon CloudWatch Logs.