Forum Discussion
4 Replies
- bojanvelevskiValued Contributor
Hey @Nidhi,
The simplest way would be to add a Copy snap both on the input, and on the output of the pipeline. That way you can ensure that the incoming payload as well as the response, can be logged. You can use whatever target system you prefer (i.e. File, DB, etc.).
- NidhiNew Contributor II
Hello @bojanvelevski ,
Appreciate your quick response.
I tried to add output snap as per your suggestion.However, i am getting error as - “Pipeline has 3 unlinked input views”
Please check the below screenshot of the integration.- NidhiNew Contributor II
Hello @bojanvelevski ,
I got the issue .
So i just needed to keep the Json Parser first and then add the copy snap and it is successfully logging the request and the response.
Thanks a lot for your suggestion. 🙂
- jcorneliusNew Contributor III
JFYI, your error issue was not caused by needing a json parser first. you 3 inputs error was cause by not having you snaps connection enabled (note the white connection after Copy and json formatter), the pipeline thought you had 3 inputs, not just 1, connecting these outputs would of removed your error.