Forum Discussion
Mark
4 years agoNew Contributor II
I had to do this JSON.stringify($original), but that worked. Using $original caused insertion problems into a varchar2 or clob because it wasnt the same datatype. But, your recommendation to put it in the mapper snap of the error pipeline worked out great because I only had to change the one error pipeline and not all 20 or so pipelines that call the error pipeline. Thanks
- Supratim4 years agoContributor III
@ariana you can try below option-
- Use mapper and copy entire body {“email”:“”,…} and use target field as $ in mapper.
- You don’t need to touch anything related to file upload option, rather add header field like below.
- Also make sure you choose snap execution as "validate and execution" at below.
- ariana4 years agoNew Contributor
Hi there! Thanks for your help. Here is what I am looking at now, still no output:
Mapper -
Mapper validation output -
POST Snap:
Pipeline:
Edit: I will add that I did try simply copying the body into the mapper with “$” in the Post snap but with the same (lack of) results.
- ptaylor4 years agoEmployee
Change
HTTP entity
from$entity
toJSON.stringify($entity)
.