AWS Step Functions is not catching States.Runtime error


The below step function is executed in aws and when there is a missing of a required parameter it cancel the flow and throws States.Runtime Error. This is in catch phase of the step function but it is not catching the error as stated.

Defined Step function is as below,

Below is the step function, enter image description here

And the error thrown is as below,
enter image description here

Runtime error is not executing Log failed module.

Is this AWS error or something wrong with the configuration which is done here or is there any other way to validate parameters in AWS Step Functions



A States.Runtime error is not retriable, and will always cause the execution to fail. A retry or catch on States.ALL will not catch States.Runtime errors.

Leave a Reply