ProductTroubleshooting
Error with Edge Functions
Edge Functions run serverless code on Supabase. Check Cloud → Logs for the specific error (syntax, runtime, timeout). Verify that secrets (API keys, database credentials) are stored in Supabase Cloud → Secrets, not hardcoded. Test the function locally or in Supabase dashboard. Ensure the function has correct permissions and RLS policies. Redeploy via "Apply" button after fixes.