I am trying to download historical data for multiple sensors for a research project. I am getting the below error. Not sure if I am doing something wrong. Thanks!
Starting requests for sensor 13.
Making request 1.
Error Code: 400
Error: InvalidHistoryFieldValueError
Description: A provided history field (latitude) was not found. Error Meaning: This error means that at least one of the fields you are using does not work with an average. View the error message for the specific field that is causing the error.
Due to this error, the process is being aborted…
This error is occurring because the “latitude” field only works with a 2-minute average. You will have to change to a 2-minute average or remove the “latitude” field to query the data.
We do not recommend querying the latitude value frequently as it should not change. More information is available here: API Use Guidelines.
I am also interested in getting a list of sensors with the latitude and longitude. If someone knows how to do this, it would be very much appreciated. Thanks!