Duplicate META INSTANCE ID

Hi,

I see that meta-instance-id is treated as the unique key throughout the backend database of aggregate. What are the chances of this key being duplicate for 2 different submissions? I encountered one recently.

Regards,
Saad

It's very unlikely that two devices generate the same instanceID. What is more likely is that that the server has a bug or race condition that resulted in duplicate data. One good way to check the latter is to see if the timestamps are a few milliseconds apart.

Are META INSTANCE IDs generated by the device or the aggregate server?

Typically the device. If the form doesn't have an meta/instanceID node (typically hand designed forms or forms that use a very old form designer), then I believe Aggregate generates one.