Hello, could you please advise whats wrong.
I have created an item with preprocesing on json path - $.value[0].timeseries[0].data[59].maximum

I have tested the step:
I got the value what i needed, but when i check on item i have these problems:
I have attached json.txt in which is json content from which im try to retrieve last(59th) value of "maximum"
I have validated json path in validation tool and got the needed result:

Could you please advise whats wrong?
Thanks.
I have created an item with preprocesing on json path - $.value[0].timeseries[0].data[59].maximum
I have tested the step:
I got the value what i needed, but when i check on item i have these problems:
Code:
Preprocessing failed for: "timeStamp": "2023-03-09T13:40:00+00:00",
1. Failed: cannot extract value from json by path "$.value[0].timeseries[0].data[59].maximum": invalid object format, expected opening character '{' or '[' at: '"timeStamp": "2023-03-09T13:40:00+00:00",'
I have validated json path in validation tool and got the needed result:
Could you please advise whats wrong?
Thanks.

Comment