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

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.

Supabase "duplicate key value violates unique constraint", explained
Supabase "duplicate key value violates unique constraint" means the value is already taken. Find the column, pick a fix, and keep the value off screen.

Supabase "relation does not exist" when the table is right there
Supabase "relation does not exist" or PGRST205 means no table matches the name and schema your query used. Four checks, and what exposing a schema opens.

Supabase PGRST202: "Could not find the function in the schema cache"
Supabase "Could not find the function in the schema cache" lists the argument names your app sent. Compare them with the function first.

Supabase PGRST204: "Could not find the column in the schema cache"
Supabase "Could not find the column in the schema cache" usually means a name mismatch. Four checks in order, and the one-line reload.

Supabase "Email Rate Limit Exceeded": two limits, one error code
Supabase "Email Rate Limit Exceeded" caps every email your project sends: 2 an hour on the built-in sender. What it counts and how to lift it.

Supabase "Invalid Refresh Token: Refresh Token Not Found": 3 causes
Supabase "Invalid Refresh Token: Refresh Token Not Found" logs your users out. Three causes, and how the auth log tells them apart.

Supabase "permission denied for schema public": three causes
Supabase "permission denied for schema public" means a missing schema grant. What removed it, and the line that puts it back.

Supabase "Bucket not found": the three things it means
Supabase "Bucket not found" is one of three things: a public link to a private bucket, a name that is not an exact match, or the wrong project.

Supabase invalid JWT: which key stopped working?
A Supabase invalid JWT error is PGRST301, and it means a signed token failed verification. On a newer project that token is your user, not your API key.

Supabase "multiple (or no) rows returned" usually means no rows
Supabase returns PGRST116, "JSON object requested, multiple (or no) rows returned", when your query found none. A row your rules hide looks missing.

"Database error saving new user" in Supabase: how to fix it
"Database error saving new user" means something attached to your Supabase signup failed and it was all rolled back. The real error is in your logs.

What is Supabase? The database your builder picked for you
What is Supabase: the database, login and file storage behind your app. Supabase runs the servers; the rules about who reads your rows are yours.

An AWS access key exposed in your frontend is not like an OpenAI key
An AWS access key exposed in your frontend reads and writes your storage. The fix is usually a presigned URL rather than a new key.
Everything here is written by a security expert, and aimed at whoever pressed deploy.
Vlad Tkachenko