Trying to Download Data

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…

Process has been aborted!

1 Like

Hi @cpryor,

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.

Is there a way to get a list of monitors with latitude and longitude without querying? Then the querying could just focus on data needed?



Interested in seeing something similar; if someone helps, that would be so insightful. Push on this to become apparent in this thread – Thanks!

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!