05-27-2022 06:23 AM
I built an error pipeline. It works perfectly with some of the pipelines i built, but with others it won’t work. Seems like no error information is being passed to the error pipeline. What am i getting wrong about how error pipeline works?
Error pipeline failed
Reason: [{ruuid=5d0223f9-1a36-403d-9445-20d88d43e7b1, label=ErrorLog Mapper, failure=Unable to write to JSON-Path:
$.snap_details.views.in.input0.count, reason=Expecting object for JSON-Path field reference ‘count’, found: null, resolution=Change the path to refer to an object}]
06-01-2022 12:36 PM
errorSimulator_2022_06_01.slp (6.3 KB)
errorReporting2_2022_06_01.slp (15.8 KB)
Ok. This is the Error Pipeline. It works perfectly when i trigger it from this errorSimulator pipeline.
When an error from other pipeline triggers it, it throws the following error but still saves an log, creates the ticket and the branch, all with an empty error json: .
"Error pipeline failed
Reason: [{ruuid=f5c2ab51-9f58-4942-b8de-4e21a0a4399e, label=ErrorLog Mapper, failure=Unable to write to JSON-Path: $.snap_details.views.out.output0.count, reason=Expecting object for JSON-Path field reference ‘count’, found: null, resolution=Change the path to refer to an object}]
Resolution: Fix the errors reported in the error pipeline"
06-03-2022 04:19 AM
@rmedeiros sorry for late response. You can refer attached pipeline.
errorReporting2_2022_06_03.slp (14.2 KB)
06-03-2022 05:41 AM
Thanks a lot for your help! Now it seems to be working…