Errors

DSAR-BE-1414: PERSISTENCE_SQL_ERROR

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

  1. Inspect server logs for the full SQL error message and query context.
  2. Verify database connectivity and credentials.
  3. Ensure migrations have been applied so the schema matches the application's expectations.
  4. Check for constraint violations in the input data.

Retryable

Depends on the cause. Connection timeouts are retriable; schema and constraint errors are not.

Response Shape

Minimal Trigger Example