Hey everyone!
We're making use of nRFCloud on our nRF9160-based system.
I'm trying to populate the meta in the location history API.
The response is always empty, like this:
Hey everyone!
We're making use of nRFCloud on our nRF9160-based system.
I'm trying to populate the meta in the location history API.
The response is always empty, like this:
Hi,
The issue is with the formatting of the message data. Put the "bat" property inline like this:
{ "topic": "prod/XX/XX", "deviceId": "nrf-XX", "receivedAt": "2022-12-06T09:27:13.804Z", "message": { "messageType": "DATA", "data": { "acc": 24.000000, "lng": 17.000000, "lat": 68.000000, "bat": 4167 } "appId": "GNSS" }, "tenantId": "XX" }
Regards,
Amanda H.
Hello Amanda,
And thank you for replying.
I have tried this as well, shown by the message API as such:
Update: I also tried to fill the battery data as "alt", as per the schema, to see if they arrived. The meta-field is still empty from location history API.
Hi Torje,
My name is Cole, I'm a backend engineer working on nRF Cloud. I am investigating this issue and unclear how it could be happening. You should be seeing the bat property being saved to the meta field by simply including it in the main payload, as stated above.
I cannot reproduce the issue using the data provided. Will you please send me your device id and team id in a direct message? I would like to look into the data.
Best regards,
Cole
Hi Torje,
My name is Cole, I'm a backend engineer working on nRF Cloud. I am investigating this issue and unclear how it could be happening. You should be seeing the bat property being saved to the meta field by simply including it in the main payload, as stated above.
I cannot reproduce the issue using the data provided. Will you please send me your device id and team id in a direct message? I would like to look into the data.
Best regards,
Cole