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.
| Control | Bounds | Larger TimeoutSeconds |
|---|---|---|
| Task timeout | Task completion | Changes configured deadline |
| API response limit | Service-response wait | Does not extend limit |