Forum Discussion

jfpelletier's avatar
jfpelletier
Contributor
2 years ago
Solved

Unexpected error with JSON generator

Hello! I'm new to this board and SnapLogic in general, so this should be an easy one to resolve... 🙂 I'm creating a very simple pipeline where I use a HTTP client to read a list of ongoing, "live"...
  • Aleksandar_A's avatar
    3 years ago

    Hi @arvindnsn,

    You can try to filter out documents that have “error” keys, and later on to split them using JSON Splitter Snap.

    $result.filter(x => x.hasPath("error"))
    

    Let me know if this helps you.

    BR,
    Aleksandar.