New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using batch createObservations failed #1924
Comments
You should be posting the DataArray to |
Yes. I sent it to |
Hmm, testing with |
I'm using |
The version number is in the logs. |
I see. FROST-Server.Core Version: v2.3.0-33-g48825bc. |
If I add the |
That's the same version I'm testing with... |
Yep. But I can't reproduce as well. But adding |
Hi
I'm sending createObservations request to FROST-Server but keep receiving error message below:
{"code":400,"type":"error","message":"Missing required property 'result'"}
But it will works while I separate the array and send it one by one using
/Observation
.Here's my request ↓
url: http://localhost:43795/FROST-Server/v1.1/Observations
data:
[ { "Datastream": { "@iot.id": 1 }, "components": [ "phenomenonTime", "result", "FeatureOfInterest/id" ], "dataArray": [ [ "2010-12-23T10:20:00-0700", 20, 1 ], [ "2010-12-21T10:21:00-0700", 30, 1 ] ] } ]
Am I missing something? Thanks!
p.s. Using FROST-Server in container from docker-image.
The text was updated successfully, but these errors were encountered: