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.