Batch measurements timestamps not being recognized

I have an MQTT device trying to send data in batch e.g. records every half hour but sends 12th hour. But when it does, the timestamps are completely ignored and all data is just packed for the time when C8Y receives this batch this was working fine till about a month ago. here is a format for example
“200,ExportActiveEnergy,ExportActiveEnergy,0,kWh,13-03-2022T20:19:47.000Z”
Any help will be highly appreciated.
has the format changed? i have looked every where but there is no example on how to format the timestamp.

Hi Umer,

your UTC Timestamp seems to be wrong. It should be in the format: yyyy-MM-dd’T’HH:mm:ss.SSSZ
In your example: 2022-03-13T20:19:47.000Z

You can find some examples of that timestamp format here: SmartREST 2.0 - Cumulocity IoT Guides

Regards
Stefan

Stefan: many thanks, for the prompt reply and for resolving my issue. It was a silly mistake and me and my entire team was not able to see it. :slight_smile: :+1:

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.