Diagnose and fix Supabase common errors and exceptions. Use when encountering Supabase errors, debugging failed requests, or troubleshooting integration issues. Trigger with phrases like "supabase error", "fix supabase", "supabase not working", "debug supabase".
/plugin marketplace add jeremylongshore/claude-code-plugins-plus-skills/plugin install supabase-pack@claude-code-plugins-plusThis skill is limited to using the following tools:
Quick reference for the top 10 most common Supabase errors and their solutions.
Check error message and code in your logs or console.
Match your error to one of the documented cases.
Follow the solution steps for your specific error.
Error Message:
Invalid JWT: expired or malformed
Cause: JWT token has expired or is incorrectly formatted
Solution:
Check token expiry with supabase.auth.getSession() and call refreshSession() if needed
Error Message:
new row violates row-level security policy for table
Cause: Row Level Security (RLS) policy is blocking the operation
Solution: Check RLS policies in dashboard or via pg_policies table. Ensure user has required role.
Error Message:
too many clients already
Cause: Connection pool limit reached due to too many concurrent connections
Solution:
Use connection pooling mode in Supabase dashboard. Switch to Session mode or pgBouncer.
# Check Supabase status
curl -s https://status.supabase.com
# Verify API connectivity
curl -I https://api.supabase.com
# Check local configuration
env | grep SUPABASE
supabase-debug-bundleFor comprehensive debugging, see supabase-debug-bundle.