Failure to Duplicate

From the user dashboard > Data > View Form > Duplicate

An error message appears when clicking Duplicate that says “Failed to Duplicate Submission”. I have about 65 users submitting to this Project, dozens per day using the Duplicate feature with success. It has only happened in a very few cases.

This screenshot shows a successful duplication as well as the error ones with some relevant details about the backend for Kobo

The Response body is XHRPOST ... [HTTP/2 409 243ms] "Submission with this instance ID already exists"

The backend error comes from somewhere in this script: kpi/kobo/apps/openrosa/libs/utils/logger_tools.py at main · kobotoolbox/kpi · GitHub where it’s claiming that a UUID is being reused, but it only happens for some forms and not others.

@saseehav, have you tried this on other projects too to see if it’s working there?

FYI, I just tried duplicating a record in both the public servers (Global as well as EU) and had no issues.

The majority of forms submitted in this project and all other projects duplicate just fine. There is something blocking a handful of forms from being duplicated. There is an error that thinks the UUID is identical

Can you try to clean the cache, close the browser and try again, please?

Yes, I have tried on different browsers, different machines, and using different accounts on the same form. It is an error that implies same UUID.