Troubleshooting

Common issues when setting up SaaSForge Core.

“Supabase not configured” / auth loops

Check:

  • NEXT_PUBLIC_SUPABASE_URL
  • NEXT_PUBLIC_SUPABASE_ANON_KEY
  • SUPABASE_SERVICE_ROLE_KEY

And in Supabase Auth:

  • Site URL
  • Redirect URLs include /auth/callback

See Configuration.

“RLS blocked” / empty queries

Symptoms:

  • inserts fail with permission errors
  • selects return empty data even when rows exist

Fix:

  • ensure you ran supabase/002_rls.sql
  • ensure the user is a workspace member

See Database and Architecture Overview.

Stripe webhook signature verification failed

Fix:

  • ensure STRIPE_WEBHOOK_SECRET matches your Stripe endpoint signing secret
  • ensure you’re hitting the correct environment (test vs live)

See Stripe Setup.

Resend emails not sending

Check:

  • RESEND_API_KEY exists
  • EMAIL_FROM domain is verified (production)

See Resend Setup.