Forum Discussion
2 Replies
- nseamanNew Contributor
I’d also be interested in the solution to this issue.
In my pipeline I use a File writer, and the file payload is not contained in square brackets, but when I work with the file in Snaplogic I see that a set of square brackets has been added, which contains the entire payload/file content. This set of brackets disrupts the downstream workflow when attempting to Rest Post.
edit: this post resolved my issue - adding the content-type to the HTTP Header in my Rest Post snap
How to change default array document structure? - #2 by ddangler - darshthakkarValued Contributor
You can check this out for solution: Removing curly brackets after using "to.String()" across a group of fields