@Indexabledev Great catch, thank you! You're right: a bare /* /index.html 200 turns every junk URL into a soft 404. We're updating our guides to list real routes first and end with /* /404.html 404 (or a noindex not-found page). Appreciate it!
Paste an error from Cursor, Lovable, Bolt, v0 or Replit and get the likely cause and fix steps. It covers Stripe webhook signature errors, Supabase RLS, missing env vars, CORS and more. Free, runs in your browser: https://t.co/VvxwWNY4Cc
@srbh_here That's a great point. Setting auth.uid() as the column default at the schema level means the client doesn't have to remember to send user_id on every insert. Thanks for adding it.
Supabase insert gets "new row violates row-level security policy" despite a user_id = auth.uid() policy? The app isn't sending user_id, so it's null. Fix: alter table todos alter column user_id set default auth.uid();
UnbreakKit's free guide: https://t.co/Ggpb7VLJQe
@jul1anodev Good catch. You're right: matching is on the error text, so a typical 'reading map' snippet doesn't change the checklist. The code field only adds a couple of extra warnings (a useEffect missing its dependency array, or a leaked API key). Thanks for testing both ways.
UnbreakKit is live on Product Hunt today 🚀
Paste an error from Cursor, Lovable, Bolt or Replit and get a plain-English explanation plus a step-by-step fix.
Free. No signup. Runs in your browser.
Feedback welcome, and tell me which error to add next 👇
https://t.co/GztfUor4ue
@jahirfiquitiva@vercel@rauchg@boyaca_dev 75% of 1M with a day to go is fixable: open Usage → CDN Requests and sort by path. Usual culprits: client polling (every poll is a request), <Link> prefetch on long lists (set prefetch={false}), and lots of small images. Trim those and you should make it through tomorrow.
Next.js 16 and the Vercel build still fails on ESLint errors? next build no longer runs ESLint, so your package.json "build" script runs the linter itself. Fix those errors or move lint to its own step.
UnbreakKit's free guide: https://t.co/RSS1wQGsoF
@meshtimes_@supabase Sorry, that's rough. While you wait: Dashboard > Logs (API + Postgres) shows the real error, Usage shows if a traffic spike hit free-tier limits, and "permission denied" / 42501 on newer tables usually means they need explicit GRANTs. Post the error and I'll take a look 🎄
Next.js build fails with "ReferenceError: window is not defined" (or localStorage)? That code runs on the server during prerender. Move it into useEffect, guard it with typeof window !== 'undefined', or load the component via next/dynamic with ssr: false.
Supabase "infinite recursion detected in policy" = a policy queries its own table (e.g. a members policy that selects from members). Move that lookup into a security definer function and call it from the policy. Keep RLS on.
UnbreakKit's free guide: https://t.co/Ggpb7VLJQe
"Cannot read properties of undefined (reading 'map')" = data isn't loaded on first render, or the API returns { items: [...] } not an array. Start with useState([]), map data.items if needed, or use data?.map. UnbreakKit's free Error Fixer: https://t.co/tqoU9rWPgj
React "Too many re-renders. React limits the number of renders" = a state setter runs during render. Usual culprit: onClick={setOpen(true)} instead of onClick={() => setOpen(true)}, or setState at the top of the component. Move it into a handler or useEffect.
@bn_funomjatau Usual suspects for "Failed to fetch" after deploy: the frontend still calls localhost, an https page calls an http:// API (mixed content), CORS doesn't allow the new domain, or the API port isn't open in the security group. DevTools Console + Network will tell you which.
Stripe webhook fails with "No signatures found matching the expected signature"? Body got parsed as JSON first. Stripe signs the raw bytes: use express.raw({type:'application/json'}) on that route, or await req.text() in Next.js. UnbreakKit's free guide: https://t.co/tto83UwY2W
Vercel build only says Command "npm run build" exited with 1? That's just the exit code. Scroll up the build log to the first red error (that's the real cause), then run npm run build locally to reproduce and fix it.
UnbreakKit's free guide: https://t.co/RSS1wQH0ed
Supabase Google sign-in fails with "Error 400: redirect_uri_mismatch"? In Google Cloud, the authorized redirect URI must be Supabase's /auth/v1/callback URL (copy it from Authentication > Providers > Google), not your app's URL. Your app's URL goes in Supabase's Redirect URLs.
@ThisIsSingleton@supabase Not Supabase staff, but per their docs: Project Settings > General > Transfer project. Needs Owner on the source org, Member+ on the target, no GitHub integration or log drains. Same project ref, so URL and keys keep working. Paid to paid: no downtime; paid to Free: 1-2 min.
Next.js "Hydration failed" = server and browser rendered different HTML. Usual causes: https://t.co/mtsDaq1hUx(), Math.random() or window used during render, or a <div> inside a <p>. Move browser-only values into useEffect.
UnbreakKit's free Error Fixer: https://t.co/tqoU9rWPgj
Supabase realtime subscription connects but no events ever arrive? Two usual causes: the table isn't in the supabase_realtime publication (alter publication supabase_realtime add table public.messages;), or RLS is on and the user has no SELECT policy, so events are filtered out.
Stripe webhook in a Supabase Edge Function throws "SubtleCryptoProvider cannot be used in a synchronous context"? Deno crypto is async. Use await req.text() for the body and await stripe.webhooks.constructEventAsync() to verify. UnbreakKit's free guide: https://t.co/tto83UwY2W
Supabase user is logged in on the client but null in Next.js server components or API routes = the session sits in localStorage, which the server can't read. Switch to Supabase's SSR package so auth uses cookies, and add middleware that refreshes the session on each request.