Fix guides
Real Supabase and Next.js failure patterns, rewritten as practical rescue notes.
How to fix: Permission denied despite correct RLS, as supabase.auth.getUser() returns null on serverOpenHow to fix: Next.js 16 App Router PWA + Supabase SSR: infinite loading on mobile/PWA (manual service worker likely caching RSC/Flight)OpenHow to fix: Supabase Google OAuth PKCE Flow: "both auth code and code verifier should be non-empty" ErrorOpenHow to fix: @supabase/ssr with Next.js App Router: map markers disappear after magic link loginOpenHow to fix: Why can’t my client-side Supabase auth read the session after middleware sets cookies in Next.js 16?OpenHow to fix: Cloudflare Pages Worker fetch() returns "error code: 1016" for Supabase REST API, only from DFW edgeOpenHow to fix: Next.js build fails: Type 'string' is not assignable to type after Lovable/Bolt exportOpenHow to fix: Supabase insert fails: new row violates row-level security policy (42501) on INSERTOpenHow to fix: Supabase RLS: infinite recursion detected in policy for relation (42P17)OpenHow to fix: Supabase login works locally but the session is lost after deploying to VercelOpenHow to fix: Next.js cookies should be awaited / used cookies - Supabase SSR authOpen