I created a simple script that reads out a csv file:
var returned_result = platform.api.get( “files/files/1808.csv” );
When I call this script externally I keep getting the follow reply: (note that script result = null)
"is_user_script":"true", "app_name":"test", "path":"system/script/test", "__tag__":"exposed_event", "script_result":null
but if I look in the log file, the content of the csv file is logged correctly.
The goal is that i read out the file and do something with the content of the file within the custom script. Why does print work but returning the result not.