API Gateway 524 Response
I have an endpoint in API Gateway that I POST to, and most of the time it is successful. However, sometimes I'll receive status 524 in response with no message. Does anyone have any insight about this? I haven't been able to find any documentation related. Thanks!
@Manikandan yes, the target is a lambda function. if it helps, I'm using HTTP API.
Looking for error 524, it seems it is a CloudFlare timeout error. Do you have CloudFlare in front of your API? The default timeout is defined as 100 seconds.
hey! sorry for the delayed response. I was on PTO. I looked into it and yes we do have CloudFlare in front. Per the docs for that error, it is due to no response from AWS APIGateway within 100 seconds. Is there any reason our call to API Gateway would hang for 100+ seconds without any response? I can't find anything about that with my searching.
Relevant questions
API Gateway Response Models are Not Exported in Open API Documentation
asked 6 months agoApi Gateway, parse a 429 Response
asked a month agoApi Gateway with Lambda Integration Failure
asked 6 months agoLambda response compression to API Gateway and client
asked 5 months agoAPI Gateway - Gateway response - HTTP API
Accepted Answerasked a year agoAccess lambda in custom VPC from public API Gateway
Accepted Answerasked 5 months ago{"message":"forbidden"} when accessing private API Gateway
asked 2 years agoIAM error trying to POST to a connection in API Gateway
asked 3 years agoAPI Gateway 524 Response
asked 2 months agoCalling Private API from Lambda in VPC
Accepted Answerasked 2 years ago
May I know what is the target for your API Gateway?