Siva_Venna
5 years agoContributor
Set up error pipeline
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)
@bojanvelevski, I didn’t copy paste the link you provided as I have a different sftp location [which I can’t share unfortunately publicly]
Regarding account, yes, both the snaps have been mapped to the right account —> I double checked it.
Really appreciate your attention to detail, both the points were valid but it has already been taken care of!
Check if the directories are already created and the path is valid. There’s an option within the File Writer snap that allows you to create the directories/path provided, if they’re not already present.
Try this and let me know.
Change HTTP entity
from $entity
to JSON.stringify($entity)
.
Hi ptaylor, thank you for the addition. Do I need to change any other settings if doing that? I am not getting output still ☹️
This is the preview I get when I hover over stringify- is that what I would want?
Apologies, I started a new snap to try out your method and it was Execute only. Now I am getting an error. I think that is an improvement over nothing, but need to figure it out.
Ok, the default Snap Execution of Execute Only explains why you weren’t getting any output when validating. Actually, I don’t think the JSON.stringify($entity)
is really necessary, since $entity
in this context will implicitly convert the input data to a JSON string.
It looks like the web service you’re invoking needs some authentication, and there are different ways of handling that. Please check the docs for the target web service regarding the required authentication.