Forum Discussion
SpiroTaleski
4 years agoValued Contributor
If you want to process the error message, but also the message to be sent to error pipeline, one option is:
- The child pipeline to contains only REST Post Call, not linked with error pipeline, and no error view selected.
- Parent pipeline, linked with error pipeline → On Pipeline Execute Snap open Error View(where all child errors will be routed to). Then on that error view you can add Copy Snap where one output will process the error message(with the logic that you have now in child pipe on the error view), and second output will be linked with error pipeline(using Link Output to Error Pipeline option).
BR,
Spiro Taleski
The preview shows the since multiple documents can be streamed, each document being streamed is a map. The REST POST snap will take each document and write it out to the endpoint, as a map. You can change the POST endpoint to a test endpoint created in a service like https://requestb.in/, to verify whether the right data is being posted.
The Zendesk API error response would have more details. It is possible the right content type was not set, add a HTTP Header in the POST snap, with key “Content-Type” and value “application/json”
Related Content
- 3 years ago
- 4 months ago