Errors
DSAR-BE-1413: PERSISTENCE_INVALID_RECORD
Alpha
DSAR is currently in alpha. APIs, package surfaces, configuration, and documentation may change as the project evolves.
Meaning
A record retrieved from the database violates the expected domain contract (e.g. an enum field contains an unrecognised value).
Probable Causes
- Database was modified directly, bypassing application-level validation.
- A migration introduced or removed valid enum values without updating all records.
- Data corruption or encoding issue in the storage layer.
How to Fix
- Inspect
error.trace.entityanderror.trace.fieldfor the offending record. - Verify the stored value against the current domain schema.
- Run a data migration to correct invalid records.
Retryable
No. The underlying data must be corrected first.