Security, in plain language
Short write-ups about what actually goes wrong in AI-built apps, and what to do about it.

"Unsupported provider: provider is not enabled" in Supabase
"Unsupported provider: provider is not enabled" means Google sign-in is off in your Supabase project. How to turn it on, and fix redirect_uri_mismatch.

"violates foreign key constraint" on insert in Supabase
Supabase "insert or update on table violates foreign key constraint": your row points at a row that is not there. Which one, why, and the fix.

"null value in column violates not-null constraint" in Supabase
Supabase "null value in column violates not-null constraint": a required column arrived empty. Where the null came from, and the fix.

Supabase "Auth session missing!": where the session went
"Auth session missing!" is supabase-js finding no signed-in session and stopping before it asks Supabase. Where the session went, and the fix for each.

Supabase "invalid claim: missing sub claim": nobody is signed in
"invalid claim: missing sub claim" means Supabase Auth got a genuine token that names no user: your project key, sent where a session belongs.

"Failed to send a request to the Edge Function" in Supabase
"Failed to send a request to the Edge Function" means the browser got no reply it could read. Its console says why, and whether your function ran.

Why Supabase email links redirect to localhost:3000
A Supabase redirect to localhost:3000 means the Site URL was never changed, or your address is missing from Redirect URLs. The fix, and the wildcard to avoid.

Supabase "Email link is invalid or has expired" on a fresh link
On a link sent a minute ago, Supabase's "Email link is invalid or has expired" usually means a mail filter used it first. How to check and fix it.

Supabase "canceling statement due to statement timeout", explained
Supabase "canceling statement due to statement timeout" means a query outran its role's limit, 3 seconds for a visitor. Check the RLS policy first.

"Database error deleting user" in Supabase, and what goes with it
"Database error deleting user" in Supabase means your database refused the delete. The reason is in your logs, and the fix decides what else is deleted.

"No signatures found matching the expected signature" in Supabase
A Stripe webhook in a Supabase Edge Function that says "No signatures found matching the expected signature" has one of two causes. Never stop checking.

"Invalid login credentials" in Supabase: the three causes
Supabase says "Invalid login credentials" for a wrong password, an unknown email and a Google account. How to tell which, and why it is vague.

"Edge Function returned a non-2xx status code" in Supabase
"Edge Function returned a non-2xx status code" means your Supabase function answered with an error. Here is where to read the real one.

Certificate not trusted: the three causes besides expiry
Certificate not trusted, and the date is fine? It names another address, it signed itself, or its chain is missing a link. How to tell which.

Supabase "invalid input syntax for type uuid": read the quotes
Supabase "invalid input syntax for type uuid" means your app sent something that is not an id. Read the quotes, hold the query, keep the column.
Everything here is written by a security expert, and aimed at whoever pressed deploy.
Vlad Tkachenko