# X_QUERY_AUDIT_SINK_FAILED

## Means

an audited read was refused because the audit sink rejected its record

## Typical cause

the sink threw on an allowed record; the rows were withheld

## Fix

`auditSink: postgresAuditSink({ executor })` — in `apps/<app>/runtime.ts`, a sink that accepts the record; then retry the read

[Queries and live queries](/error-codes#queries-and-live-queries)
