I want to use DynamoDB on AWS for collecting error from the error Workflow.
Here is my workflow :
On AWS DynamoDB, i have configured :
Partition Key : Workflow ID (String)
Sort Key : Timestamp (String)
I got the following error that I don’t understand has evrything is defined as string :
ERROR: AWS error response [400]: 400 - “{”__type":“com.amazon.coral.validate#ValidationException”,“message”:“One or more parameter values were invalid: Type mismatch for key Workflow ID expected: S actual: N”}
I just had a look. You used auto-map but provided the input incorrectly. I would recommend using the other option and reference the values using expression. With auto-map the input it’s not a key-value pair but a key-object pair.