DEV Community

Discussion on: AWS Step Functions - Simple Order Flow

Collapse
 
nikolabravo profile image
Nikola Bravo

Hi Hardik, thnaks for the fantastic post. As I was testing the setup, I have ran into the error:
{
"error": "States.Runtime",
"cause": "An error occurred while executing the state 'CheckInventory' (entered at the event id #4). Invalid path '$.Payload' : No results for path: $['Payload']"
}

Error is fixed with updated CheckInventory Task, by removing the "OutputPath" and "Parameters", as:
"CheckInventory": {
"Type": "Task",
"Resource": "arn:aws:states:::lambda:invoke",
"Retry": [
{ ....

Thanks!

Collapse
 
_hardikjoshi profile image
πŸ…·πŸ…°πŸ†πŸ…³πŸ…ΈπŸ…Ί πŸ…ΉπŸ…ΎπŸ†‚πŸ…·πŸ…Έ

Hi @nikolabravo , Thanks a lot for this.
I will check and correct it.

Apologies for late reply as didnt get any alert on the comment :-).