Error 21119

Message

Possible error messages:

Without Resource Bundle (default)
  • Posible error messages
  • Duplicate primary key : {KEY_NAME} / Duplicate primary key in findOs: {KEY_NAME}
  • Expecting 1 row but got {N_ROWS} rows for table {TABLE_NAME} ({KEY})
With Resource Bundle
  • Duplicate primary key : {KEY_NAME}
Domain Persistence.PersistenceException
Number 21119
Label DUPLICATE_PRIMARY_KEY
Applicable Platform(s) iOS, Android

Cause

The Object API has found two instances using the same primary key in the local database.

Action

The underlying database may be corrupt. If this is not the case, please contact Technical Support.