I have an application that performs a data query against a FROST server. The application is the VirtualCityPublisher (v5.3.27) and is using the SensorThings Plugin delivered with that version. The FROST server is a self-hosted instance.
The plugin is supposed to display a diagram of sensor values. When the plugin is activated, the browsers developer console displays the following error messages:
https://sdm-frost.cloud.iai.kit.edu/FROST-Server/v1.1/Datastreams?%20%20%20%20$filter=ObservedProperty/name%20eq%20%27Air%20temperature%27%20and%20Thing/id%20eq%2014&%20%20%20%20$orderby=Observations/phenomenonTime%20desc&%20%20%20%20$top=1&%20%20%20%20$expand=Observations($top=1;$orderby=phenomenonTime%20desc)
Error: Failed fetching url https://sdm-frost.cloud.iai.kit.edu/FROST-Server/v1.1/Datastreams?
$filter=ObservedProperty/name eq 'Air temperature' and Thing/id eq 14&
$orderby=Observations/phenomenonTime desc&
$top=1&
$expand=Observations($top=1;$orderby=phenomenonTime desc) with status: 400
Note: the second block seems to be a decoded version of the previous block. It has been copied from the browser console.
I've tried to determine the cause for this error, but I'm not sure whether it is due to an invalid request, or due to a failure in the FROST server itself. According to some research in the web I believe that the problematic statement comes from the two arguments in the expand parameter - which might be valid syntax, or not.
My problem is now: whom should I blame?
- Is it an invalid request? Then I should go to VirtualCitySystems and ask for correction.
- Is it a failure of the FROST server? Then I might get help from here...
Can anybody shed some light on this?
I have an application that performs a data query against a FROST server. The application is the VirtualCityPublisher (v5.3.27) and is using the SensorThings Plugin delivered with that version. The FROST server is a self-hosted instance.
The plugin is supposed to display a diagram of sensor values. When the plugin is activated, the browsers developer console displays the following error messages:
Note: the second block seems to be a decoded version of the previous block. It has been copied from the browser console.
I've tried to determine the cause for this error, but I'm not sure whether it is due to an invalid request, or due to a failure in the FROST server itself. According to some research in the web I believe that the problematic statement comes from the two arguments in the
expandparameter - which might be valid syntax, or not.My problem is now: whom should I blame?
Can anybody shed some light on this?