Forum Discussion

manjunathsinghs's avatar
manjunathsinghs
New Contributor II
2 years ago
Solved

How can i get the input data sent to JSON parser snap.

Hi, I have JSON parser snap in my pipeline and it is getting data from external resources.
Sometimes the data parse is failing due to invalid input. But am not able to capture that input data and error shows only "Invalid Json error" message (as below).

"error": "Cannot parse JSON data",
"reason": "Unable to parse JSON input, Invalid UTF - 8 middle byte 0x20"

Can somebody help me, how to capture the input data getting into Json parser snap.

Thank You.