Hi,
I have a prepared JSON file, and I’m trying to read it using scripted connectors, but I’m encountering the following error message:
[2024-11-11 12:47:09.410 INF]ScriptExecutor#78350387 finished script 'Data Sources\Scripted Connectors\367f012b-1629-432b-98f1-ccbc67cb0c4a.py' execution with result '--------------------------------I’ve reviewed the limitations (e.g., the file is less than 1 MB and only involves JSON parsing). The logic is handled externally.
https://docs.dataminer.services/user-guide/Advanced_Modules/Data_Sources/Data_Sources_Limitations.html
thanks for the comment,
yes correct i just realize it
after he should execute this :
session.put("http://localhost:34567/api/data/parameters", json=json_string, headers=header_params)
but nothing is showing in the dataminer
Hi, it looks like you have a print statement in your python script and that's the source of the '------' in the logs.
Can you check the same logs to see there are no errors indicated in your python script. That could cause no element to be shown in Dataminer.
Hello, thank you for your response.
I checked, and unfortunately, no errors appear in the logs. It seems that the JSON could not be parsed to create the element; the JSON appears to be malformed.
I fixed it.
Is that line the actual result you get?
"——————————–"