Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Join us in Bucharest on Sept 18th for Qlik's AI Reality Tour! Register Now
cancel
Showing results for 
Search instead for 
Did you mean: 
jamesasu
Contributor II
Contributor II

[ERROR]: tExtractJSONFields_2 - net.minidev.json.parser.ParseException: Malicious payload, having non natural depths, parsing stoped on { at position 89055.

Anyone know how I can override the JSON Parser settings so that tExtractJSONFields will read this REST API?

It was working a couple patches ago, but suddenly it's started having errors:

   [ERROR]: volunteer_management_system_integration.vms_events_0_1.VMS_Events - tExtractJSONFields_2 - net.minidev.json.parser.ParseException: Malicious payload, having non natural depths, parsing stoped on { at position 89055.

The raw JSON from the API looks like the attached.

Labels (4)
1 Solution

Accepted Solutions
Anonymous
Not applicable

Hello @James Angus​ ,

It's a known issue which is caused by the json-smart.jar with version=2.4.7

The workaround is to customize the maven URI in order to use the version 2.4.10 or 2.4.11 of the jar file json-smart

 

Download the version 2.4.11 of the jar file

https://mvnrepository.com/artifact/net.minidev/json-smart/2.4.11

 

Customize the maven URI to use the version 2.4.11 instead of 2.4.9 as described in the article :

 

https://help.talend.com/r/en-US/7.3/studio-user-guide/customizing-maven-uri-for-external-module-depl...

 

 

Best regards

Aiming

 

View solution in original post

2 Replies
Anonymous
Not applicable

Hello @James Angus​ ,

It's a known issue which is caused by the json-smart.jar with version=2.4.7

The workaround is to customize the maven URI in order to use the version 2.4.10 or 2.4.11 of the jar file json-smart

 

Download the version 2.4.11 of the jar file

https://mvnrepository.com/artifact/net.minidev/json-smart/2.4.11

 

Customize the maven URI to use the version 2.4.11 instead of 2.4.9 as described in the article :

 

https://help.talend.com/r/en-US/7.3/studio-user-guide/customizing-maven-uri-for-external-module-depl...

 

 

Best regards

Aiming

 

jamesasu
Contributor II
Contributor II
Author

Thank you @Aiming Chen​, that worked!