I am trying to insert data via API. When that data exists, the response will return status code 400 and I need to parse the error message to get the id of the record that exists on the API. This is a child pipeline and has also been set up to send errors to the error pipeline but I wanted to filter this type of error for further processing.
In the REST POST snap view, I have set when an error occurs Route Error Data to Error View.
When I validated the child pipeline it works fine but when I run the parent pipeline (and calls this child pipeline) it will execute the error pipeline instead of the output that I need.
Appreciate your thoughts on this.