After deploying an API Gateway function in front of a Lambda function, and setting it up with Cloudflare, I keep getting 521 errors from Cloudflare.
I have completed all the necessary steps such as generated a certificate, created the custom domain in API Gateway, etc.
Why would I be getting a 521 error when using AWS API Gateway with Cloudflare?