Is there any Retry mechanism in API Gateway

1

API Gateway throws 503 , when the response time is longer than 30s , is there any workaround where I can retry the same api call incase of 503.

asked 10 months ago2121 views
1 Answer
4

The retry operation should be implemented on the client side, not on the API Gateway.
https://docs.aws.amazon.com/sdkref/latest/guide/feature-retry-behavior.html

Ensure that the client that executes the API reruns it when it receives a 503 error.
In such cases, if the program is reexecuted without an interval, the same error may occur again, so design the program to allow a small interval.

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 months ago
profile pictureAWS
EXPERT
reviewed 10 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions