cancel
Showing results forย 
Search instead forย 
Did you mean:ย 

Set up error pipeline

Siva_Venna
Contributor

I have configured error pipeline but the error is not passing into input view. Need help to configure this. Thanks
error pipe_2020_08_27.slp (2.2 KB) rest api_2020_08_27.slp (2.7 KB)

7 REPLIES 7

ptaylor
Employee
Employee

I imported your pipelines. They work as expected. The error is being transformed by the Mapper in the error pipeline: the entire response is under โ€œpathโ€.

image

Siva_Venna
Contributor

thanks @ptaylor.
below error when validating parent pipeline
image
mapper config
image

There is no Mapper in the main pipeline you attached to your first post. Did you add one? You canโ€™t process errors that were sent to the error pipeline in the main pipeline. Thatโ€™s what the error pipeline is for. Try doing all the error processing there.

For pipelines which use an error pipeline, it is possible to do custom error handling for some snaps before passing the error document to the error pipeline. For example,

image

the Postgres Insert here does not directly send its error to the error pipeline, it is configured to โ€œRoute Error Data to Error Viewโ€. The error goes to a mapper which adds some additional metadata to the error document. Right-clicking on the mapper gives an option to โ€œLink Output to Error Pipelineโ€ which makes the mapperโ€™s output go to the error pipeline. This allows for custom error handling while using an error pipeline.