- Newest
- Most votes
- Most comments
Hi Rajkumar
From the note I understand you trying to create Step Function and you have the existing execution role and it throws an error each time you try to create it?
First verify that the IAM role that your state machine assumes still exists If not create a new one[1]. Please note some of the issues that might cause the error; 1.State machine definition issues (for example, no matching rule in a Choice state) 2.Task failures (for example, an exception in a Lambda function) 3.Transient issues (for example, network partition events). And by default, when a state reports an error, AWS Step Functions causes the execution to fail entirely.
I hope the above information is helpful. References:
1.https://aws.amazon.com/premiumsupport/knowledge-center/step-functions-iam-role-troubleshooting/ 2.https://docs.aws.amazon.com/step-functions/latest/dg/concepts-error-handling.html
Relevant content
- asked 7 years ago
- Accepted Answerasked 10 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated a year ago
- AWS OFFICIALUpdated 2 years ago