You have updated the record to contain a duplicate key value in X. This record cannot be rewritten until a unique value is entered

You have attempted to write a record containing a duplicate key to the file.