Insights Hub IOT timeseries API not returning latest value

2021-07-16T09:11:15Z
APIs & Services

Summary


Details

We are getting almost 50min-1 hour old data using IoT time Series API with LastValue

Solution

The latestValue API uses our aggregates to get the latest value. The aggregate data gets generated 1-2 hours after data ingestion. This is the cause of the delay of almost 1-2 hours for getting the latest value.

This is a known issue with the latestValue:


The recommendation to get the latest record of an aspect is to use the latestRecord  instead. This endpoint is preferred when aspect data is changing frequently.

Notes

The latestRecord could be used, but it might not have all the variables specified in the query, as it will only show the variable with the latest timestamp; the last record with whatever variables present in it.

For additional support, please create a support case via the Support Centre.

KB Article ID# PL8543152

Contents

SummaryDetails

Associated Components

IoT Time Series Service