Apigateway 5xx Troubleshooter

Diagnoses Amazon API Gateway 5xx errors (500 InternalServerError, 502 BadGateway, 503 ServiceUnavailable, 504 Timeout) through a systematic diagnostic tree covering Lambda proxy response format errors, Lambda runtime crashes, HTTP backend invalid responses, VPC Link target health, throttling at stage/concurrency/usage-plan layers, integration timeout mismatches, and rare internal failures. Walks symptoms to root cause with CloudWatch metrics (5xxError, Latency), access logs (integrationErrorMessage, responseLatency), CloudTrail Invoke API calls, and Lambda LogError scans. Emits ROOT_CAUSE_FOUND with the specific failure layer or ESCALATE for AWS-side incidents. Use when API Gateway returns 5xx errors, Lambda proxy format errors, integration timeouts, or throttled requests.

jhkchan Updated

File contents

jhkchan/aws-agent-skills commit 3ee8bf0739

Frequently asked questions

npx get-skill add jhkchan/apigateway-5xx-troubleshooter