ExitAWS Step Functions: failure handling and recovery1 / 9
Explanation

Separate task deadlines from service-response limits

How task timeouts, retry policies, catchers, and redrive control failure propagation and recovery across workflow boundaries. · advanced

A Task state's TimeoutSeconds bounds how long the task can take to complete. If it exceeds that timeout, the task fails with States.Timeout. For a Request Response task, leaving the timeout unspecified does not allow an indefinite wait: Step Functions applies a default timeout.

Step Functions also has a separate limit on waiting for the service API response. Increasing TimeoutSeconds does not extend that limit. A larger task deadline therefore cannot fix a failure caused by the separate response-wait limit.

ControlBoundsLarger TimeoutSeconds
Task timeoutTask completionChanges configured deadline
API response limitService-response waitDoes not extend limit