Supabase Security & compliance Stability

RLS-denial spike

Part of the Runtime error logs check

What it is

The project logs show a spike in SQLSTATE 42501 — permission denied — over the last 24 hours.

Why it matters

Two very different causes look identical here. Either a recent deploy broke a policy and legitimate users are being denied, or someone is probing tables they should not reach. Both want attention today.

How to fix it

Check what changed recently in policies or migrations. If nothing did, look at which tables and roles the denials cluster on — a broad spread across tables is probing, a single table is usually a policy regression.

Run them all on your app

Connect your repo and your live services with read-only scopes. The first scan is free, and nothing changes without your approval.