AWS Certified Solutions Architect - Professional 2020

Sign Up Free or Log In to participate!

How to troubleshoot API Gateway 504?

I understand the error is "Bad Gateway" which usually indicates something is wrong with the applications itself but would we refer to Xray to troubleshoot? Any guidance on this? thank you

1 Answers

Hi Water,

I think you could use X-Ray to try to get some trace logs from API Gateway…X-Ray supports it.  See  504 can be lots of things from a misconfigured REST endpoint to a bad Lambda function to CloudFront just not having time to replicate yet.

Normally, I’ll just break each part of the chain apart and test individually, but X-Ray should help give you some insight.


Sign In
Welcome Back!

Psst…this one if you’ve been moved to ACG!

Get Started
Who’s going to be learning?