I encountered a very strange issue (error) with the Stats API.
If I make the time range any time from current utc time, it return NaN for all statistical values for the time series:
Current time utc: “2023-06-23T00:57:10Z”
"timeRange": {
"to": "2023-06-23T00:57:10Z",
"from": "2023-06-09T00:57:10Z"
}
→ result is all NaNs for entire range of returned statistics.
However if I make it yesterday’s time utc by subtracting a few hours, depending on the time, value are returned normally for the entire time series.
{
"timeRange": {
"to": "2023-06-22T23:01:50Z",
"from": "2023-06-08T23:01:50Z"
}
}
What is going on behind the scenes here, and is this a bug that will be fixed? How can I approach getting the most recent data if I cannot use the time now in utc, but need yesterday’s date?
Thanks.
