04-14-2022 02:11 AM
Please find the screenshot of my pipeline:
Kindly help in resolving this issue.
04-14-2022 02:15 AM
Hi @Nidhi,
Is this pipeline exposed as a Triggered task by any chance ? Most likely you you are sending a POST request but you don’t have an open input view on any of the snaps so the pipeline ends up failing.
04-14-2022 02:22 AM
Hi @j.angelevski ,
I do have a triggered Task linked to this pipeline. But i need to read the data from File Reader before making the Rest api call.
This error is coming because i have used File Reader snap in the beginning and not Json Parser.
Is there an option where i can use a File Reader snap along with Json Parser snap in the beginning?
04-14-2022 02:25 AM
I am not sure if I understood what you mean by that, if this pipeline is exposed as a Triggered task but you don’t need to POST any data then use a GET request from your application ( Postman for example ), it looks like you are sending a POST request even though is not needed if you don’t expect any data to be posted to begin with.
04-14-2022 02:31 AM
Ok. I need to POST the data in the request body and i also need to pass the data from the File Reader into the header parameter in the same Rest call.