How we can pass API payload in Step Function Dynamically?

Viewed 136

I created a Step function which will trigger by API Gateway with Input Parameters. Graph is here :

Step Function Graph

Below is my Step function code :

[Step Function Code2

I'm trying to pass Body via API Gateway like below:

API Gateway Body request

I'm getting below error while body request to API gateway

{ "error": "States.Runtime", "cause": "An error occurred while executing the state 'API Gateway Invoke' (entered at the event id #2). The JSONPath '$.id' specified for the field 'Payload.$' could not be found in the input '{"ISIN":"12sd"}'" }

0 Answers
Related