Got feedback or spotted a mistake?
Leave a comment at the end of this page or email contact@krishagni.com
How to Evaluate/Fix SQL Error: Duplicate Entry
SQL error: Duplicate entry '<generated_label>' for key 'catissue_specimen.OS_SPMN_LABEL_UQ'.
Please report this error to the system administrator. (COMMON_SQL_EXCEPTION)
What does this mean?
Every specimen label in OpenSpecimen must be unique (either within the collection protocol or across the whole system).
This error triggers when you try to save a sample with a label name that already exists. It is usually caused by:
A label format is too simple/non-unique and generating the same label twice
Accidentally typing the same label twice.
A duplicate label already active in the system.