Ultimate

X_QUERY_AUDIT_SINK_MISSING

Means

a query declares audit: true and no audit sink is installed

Typical cause

apps/<app>/runtime.ts names no auditSink; the read is refused before its input is parsed

Fix

auditSink: postgresAuditSink({ executor }) — in export const runtime = { … }, apps/<app>/runtime.ts

Listed under Queries and live queries

This page as markdown