Forum Discussion
I don’t think we can send a XML encoded POST data to a Snaplogic pipeline API end point. It needs to be JSON encoded. If the POST data can be staged in a staging area, you could use the Multi File Reader Snap and then connect the XML Parser Snap to it and process it further.
Hope this helps.
When I insert my schema this is what I get.
Could not compile expression: Date.parse($MODDATE,“yyyyMMdd … (Reason: Invalid token: ‘“’ for expression: Date.parse($MODDATE,“yyyyMMdd …; Resolution: Please check expression syntax)
Can you give me the complete expression you are providing and the error as well.
Of course,
expression:
Date.parse($MODDATE,“yyyyMMdd hhmmss”).toLocaleDateTimeString({“format”:“yyyy-MM-dd hh:mm:ss”})Validation errors:
property_map.settings.transformations.value.mappingTable.value[2].expression.value: Could not compile expression: Date.parse($MODDATE,“yyyyMMdd … (Reason: Invalid token: ‘“’ for expression: Date.parse($MODDATE,“yyyyMMdd …; Resolution: Please check expression syntax)
Related Content
- 2 years ago
- 2 years ago
- 11 months ago