snapation6713
2 years agoNew Contributor III
Snaplogic Rest Post Snap: Failing with Invalid input JSON
I have a Json Generator snap that contains the following snippet: { "filterGroups": [ { "filters": [ { "propertyName": "lastmodifieddate", "operator": "GT", "value":"2024-04-18T18:21:27.255Z" } ] }...
- 2 years ago
This error message went away when I used parameters to pass the datetime. I get the value from a query then I create the json using a script snap with this snippet:
// Set propertyName and value from pipeline propertiesfilter.put("propertyName", $_dttmColumn);filter.put("operator", "GT");filter.put("value", $_max_dttm);where max_dttm contains the datetime value.