I have a step function (illustrated below) and I was working out the few remaining issues when all of a sudden I hit a rather unexpected result:
I'm a bit dumbfounded. Has anyone seen this? Does anyone know how I'd go about troubleshooting it?
This may not match your case, but this happens in step functions when you have a Choice
state, and the Variable
you are referencing is not actually in the state input.
The documentation says:
Note:
You must specify the $.type field. If the state input doesn't contain the $.type field, the execution fails and an error is displayed in the execution history.
but from my experience, you get a Cancelled
state.
Have a look here for more info: AWS Step Functions - Choice