Identification Engine error during payload processing

Sandeep47
Kilo Contributor

Hi,

I am building payload in JSON format and trying to process it using Identification engine rule. For some of the payload items the engine is failing and in the logs i could see the below error message. 

identification_engine : Error occured during parsing input json payload: java.lang.IllegalArgumentException: Cannot decode: java.io.StringReader@19d9b11
at com.glide.util.JSONUtil.deserialize(JSONUtil.java:188)
at com.glide.util.JSONUtil.parse(JSONUtil.java:278)

I am unable to determine the issue. Any leads to fix the issue?

Thanks

 

3 REPLIES 3

Sandeep132
Kilo Sage

Looks like the issue is in parsing some of the payload items properly. Check if you are parsing all the input variables into string. You can use .toString() or +'' to convert the variable to strings. I encountered similar error many times.

Sandeep132
Kilo Sage

Looks like the issue is in parsing some of the payload items properly. Check if you are parsing all the input variables into string. You can use .toString() or +'' to convert the variable to strings. I encountered similar error many times.

Ashutosh Munot1
Kilo Patron
Kilo Patron

Hi,

Can you show the payload and i can try that for you.


Thanks,
Ashutosh