02-20-2023 02:36 AM
JSON splitter last week was working correctly.
Pipeline was not edited, JSON format did not change, and yet Pipeline is crashing indicating error that JSON splitter is expecting list not an object. Before 17th of Feb it was working perfectly fine. was something changed in snap architecture?
“Failure: Json Splitter expects a list, Reason: Found an object of type class java.util.LinkedHashMap, Resolution: The path $.data needs to refer to a list in the incoming document”
Solved! Go to Solution.
02-20-2023 05:57 AM
The object $data is an instance of Object not an array…
Place a mapper before the JSON splitter then set mapper as pass through enabled
03-03-2023 09:04 AM
@alchemiz @dabalka Yes, sorry. We deployed patch 432patches19974 last week to fix the use case you (and others) reported. This morning we deployed a new patch, 432patches20062, which addressed a couple of other use cases where the behavior wasn’t backward compatible. Both patches were deployed to both the Latest and Stable distributions, so if you’re on version 4.32 of the platform, you should find that the pack has been automatically upgraded.
03-03-2023 08:23 PM
Hi @ptaylor ,
Thanks for the update, we will validate