Errors
DSAR-BE-1414: PERSISTENCE_SQL_ERROR
Alpha
DSAR is currently in alpha. APIs, package surfaces, configuration, and documentation may change as the project evolves.
Meaning
A raw SQL query executed by the persistence layer failed.
Probable Causes
- Syntax error in a dynamically constructed query.
- Database connection dropped or timed out mid-query.
- Schema mismatch — a referenced table or column does not exist.
- Constraint violation (unique, foreign key, check) at the database level.
How to Fix
- Inspect server logs for the full SQL error message and query context.
- Verify database connectivity and credentials.
- Ensure migrations have been applied so the schema matches the application's expectations.
- Check for constraint violations in the input data.
Retryable
Depends on the cause. Connection timeouts are retriable; schema and constraint errors are not.