Getting this error in the Device Logs:
“State was reported but not recorded because the timestamp was more than 30 days in the past.”
Where is the timestamp pulled from? I didn’t set this up initially so I am having to discover this for the first time. This is running the Gateway Edge Agent on a device.
If state is being reported by a Gateway Edge Agent, then I can think of some possibilities …
- The Device State Node allows you to define a timestamp to associate with a state report. It’s possible that whatever edge workflow is reporting state has a value defined there - and that time is more than 30 days ago.
- The GEA had been offline for more than 30 days and state data that had accumulated in that time, waiting to be reported, is now being sent up to the platform.
- Or, if you have the
OFFLINE_MESSAGE_REPLAY_ORDER
environment variable set to “newestFirst” and the agent goes offline frequently, then messages toward the end of the queue are just now being processed and those messages are older than 30 days.
- The system clock on the GEA’s host device is incorrect but 30 days in the past or more.