Watch: Fix Supabase errors: how to read Supabase logs | Vovy

Watch Vovy do it on a Mac: "Check my Supabase logs and tell me why requests are failing". Vovy opens Supabase Logs for your API, database, auth and edge functions, finds the failing requests, and explains each error with the fix.

"Check my Supabase logs and tell me why requests are failing"

Vovy opens Supabase Logs for your API, database, auth and edge functions, finds the failing requests, and explains each error with the fix.

What happens in the video

  1. Open Logs and Analytics: Vovy opens your Supabase project and goes to Logs, where each service, API gateway, Postgres, Auth, Storage and Edge Functions, has its own stream.
  2. Filter the API gateway to failures: It filters API requests to 4xx and 5xx status codes so you see only the calls that failed, with the table and method for each.
  3. Check Postgres for the real reason: A 401 or empty result often traces back to Postgres. Vovy looks for messages like "permission denied for table" or "new row violates row-level security policy".
  4. Match it to your browser request: It reproduces the failing action in Chrome with the Network tab open so the error in the log lines up with the button you clicked.
  5. Explain the cause and fix: You get a card per error: what it means, whether it is a policy, key or schema problem, and the exact change to make.
Read the step-by-step guide