You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The error happens due to missing original input in 'Emit - Workflow Started TT' in case of timeout after 900s.
The issue can be simply fixed by configuring valid ResultPath e.g. '$.error' in 'Emit - Workflow Started TT' Error handling's catcher.
{
"error": "States.Runtime",
"cause": "An error occurred while executing the state 'Emit - error timeout' (entered at the event id #24). The JSONPath '$.detail.userId' specified for the field 'userId.$' could not be found in the input '{"Error":"States.Timeout","Cause":"","cause":"Customer timedout"}'"
}
The text was updated successfully, but these errors were encountered:
This can be fixed by updating the Error section for "Emit - Workflow Started TT" PutEvents task. In the catcher, the ResultPath needs to be set to something, for instance, $.cause. Else input will not be passed to output for timeout. Though output section is set to discard results and keep original input, this will only take effect for successful flow.
You can refer to "Emit - Awaiting Completion TT" that handles barista timeout. This does it correctly by setting ResultPath for catcher to $.comment.
The error happens due to missing original input in 'Emit - Workflow Started TT' in case of timeout after 900s.
The issue can be simply fixed by configuring valid ResultPath e.g. '$.error' in 'Emit - Workflow Started TT' Error handling's catcher.
{
"error": "States.Runtime",
"cause": "An error occurred while executing the state 'Emit - error timeout' (entered at the event id #24). The JSONPath '$.detail.userId' specified for the field 'userId.$' could not be found in the input '{"Error":"States.Timeout","Cause":"","cause":"Customer timedout"}'"
}
The text was updated successfully, but these errors were encountered: