All fixes (58)
By tool: Lovable Bolt Cursor Replit v0
By category: Auth Payments Deploys Database / Supabase RLS Env vars & leaked keys Performance
Recently added fixes
- Supabase Edge Function callable by anyone (the anon key passes verify_jwt) 2026-11-30
- Supabase only returns 1,000 rows (max rows limit) 2026-11-29
- Changing the id in the URL shows other users' data (IDOR) 2026-11-26
- Login rate limit only counts per email: credential stuffing gets through 2026-11-25
- Supabase Storage file links broken: private bucket, getPublicUrl and expired signed URLs 2026-11-24
Auth
Magic link / OAuth login redirects to localhost:3000
LovableBoltv0CursorAuth
After clicking the email link or Google login, the browser opens http://localhost:3000LovableBoltv0CursorAuth
Error 400: redirect_uri_mismatch (Google sign-in)
CursorReplitBoltAuth
Error 400: redirect_uri_mismatch. The redirect URI in the request does not match the ones authorizedCursorReplitBoltAuth
User is logged out after page refresh
LovableBoltv0Auth
After reload, user is null and protected pages redirect to /loginLovableBoltv0Auth
Supabase confirmation, magic link or password reset emails not sending
LovableBoltv0CursorReplitAuth
email rate limit exceeded (429 over_email_send_rate_limit) / Email address not authorized / signup works but nLovableBoltv0CursorReplitAuth
App emails (sign-up, password reset, receipts) land in spam: fix SPF, DKIM and DMARC
LovableBoltCursorReplitv0Auth
Confirmation, magic link, password reset or receipt emails go to the Spam/Junk folder, show 'via' or 'Be carefLovableBoltCursorReplitv0Auth
Better Auth security release (Nov 2026): upgrade to 1.7.16 to stop Expo account takeover
Cursorv0BoltReplitAuth
GHSA-4wq4-2ppv-q3hg / CVE-2026-121802 (critical, CVSS 9.1): @better-auth/expo below 1.7.16 lets an attacker whCursorv0BoltReplitAuth
Admin page is hidden but not protected (anyone can open /admin or call admin APIs)
LovableBoltCursorReplitv0Auth
A normal user (or a logged-out visitor) types https://your-app.com/admin and the admin dashboard loads / the ALovableBoltCursorReplitv0Auth
Demo login, auto-login or hard-coded test credentials left in your live app
LovableBoltCursorReplitv0Auth
Anyone can open my live app and is already signed in (often as admin) / the login form comes prefilled with adLovableBoltCursorReplitv0Auth
Login rate limit only counts per email: credential stuffing gets through
LovableBoltCursorReplitv0Auth
Users report their account was taken over even though my login has a rate limit / Auth logs show many failed sLovableBoltCursorReplitv0Auth
Supabase Edge Function callable by anyone (the anon key passes verify_jwt)
LovableBoltCursorReplitv0Auth
verify_jwt is on, but my Edge Function still runs for logged-out users / anyone can call https://<project-ref>LovableBoltCursorReplitv0Auth
Payments
Stripe webhook: No signatures found matching the expected signature
CursorBoltReplitv0Payments
StripeSignatureVerificationError: No signatures found matching the expected signature for payloadCursorBoltReplitv0Payments
Payment succeeds but the user isn't upgraded
LovableBoltCursorPayments
Stripe shows the payment as succeeded but the app still shows the free planLovableBoltCursorPayments
No such price / No such customer (test vs live mode mix-up)
CursorBoltv0LovablePayments
StripeInvalidRequestError: No such price: 'price_...'CursorBoltv0LovablePayments
Stripe webhook runs twice: duplicate orders, credits or double charges
CursorBoltLovableReplitv0Payments
checkout.session.completed handled twice / user credited twice / customer charged twice for one purchaseCursorBoltLovableReplitv0Payments
Users can change the price at checkout: stop trusting amounts sent from the browser to Stripe
LovableBoltCursorReplitv0Payments
A customer paid $1 (or $0.50) for a $79 plan, the Stripe Checkout Session or PaymentIntent shows an amount youLovableBoltCursorReplitv0Payments
Visiting the success page unlocks Pro without paying: grant access from the Stripe webhook, not the redirect
LovableBoltCursorReplitv0Payments
Anyone who opens /success or /thank-you?session_id=... gets Pro access, users who close the tab after paying nLovableBoltCursorReplitv0Payments
Stripe email: Your webhook endpoint is failing and will be disabled. How to fix and re-enable it
LovableBoltCursorReplitv0Payments
Email from Stripe: 'Your webhook endpoint is failing' / 'Fix it or we will disable it by <date>' / Dashboard sLovableBoltCursorReplitv0Payments
Stripe webhook returns 401 from a Supabase Edge Function (Missing authorization header / Invalid JWT)
LovableBoltCursorReplitv0Payments
Stripe Dashboard > Webhooks shows every delivery to https://<project-ref>.supabase.co/functions/v1/stripe-webhLovableBoltCursorReplitv0Payments
Deploys
Vercel build fails: Type error / ESLint errors (works locally)
Cursorv0BoltDeploys
Failed to compile. Type error: ... / Error: Command "npm run build" exited with 1Cursorv0BoltDeploys
404 NOT_FOUND when refreshing a page (React/Vite SPA)
LovableBoltDeploys
404: NOT_FOUND on /dashboard after refresh or when opening a direct linkLovableBoltDeploys
CORS error: blocked by CORS policy: No 'Access-Control-Allow-Origin' header
CursorReplitBoltv0Deploys
Access to fetch at 'https://api...' from origin 'https://...' has been blocked by CORS policyCursorReplitBoltv0Deploys
Replit deploy: app not reachable / port not open
ReplitDeploys
Your app is not listening on the expected port / deployment health check failedReplitDeploys
Hydration failed because the server rendered HTML didn't match the client
v0CursorDeploys
Error: Hydration failed because the server rendered HTML didn't match the clientv0CursorDeploys
Lovable custom domain stuck on Verifying, SSL failing, or login broken after the switch
LovableDeploys
Domain status stuck on 'Verifying' or 'Unable to verify' / 'Setting up', 'Stalled' or 'Failed' (SSL) / browserLovableDeploys
App works on localhost but breaks in production: a checklist to find the cause
LovableBoltCursorReplitv0Deploys
Works in the preview / on localhost, but the deployed site shows a blank page, 'Failed to fetch', 'undefined' LovableBoltCursorReplitv0Deploys
Missing security headers (CSP, X-Frame-Options, nosniff) on a Vercel or Netlify app
LovableBoltCursorReplitv0Deploys
Mozilla HTTP Observatory, a security scanner or a client's security review flags your app: 'Content-Security-PLovableBoltCursorReplitv0Deploys
Replit app shows 502 Bad Gateway after republishing (or publish fails at the last step)
ReplitDeploys
My published replit.app URL (or custom domain) returns 502 Bad Gateway right after I republished / Preview worReplitDeploys
Database / Supabase RLS
Supabase query returns an empty array (no error)
LovableBoltv0Database / Supabase RLS
data: [] (select works in the SQL editor but returns nothing in the app)LovableBoltv0Database / Supabase RLS
new row violates row-level security policy for table
LovableBoltCursorDatabase / Supabase RLS
new row violates row-level security policy for table "profiles" (code 42501)LovableBoltCursorDatabase / Supabase RLS
Supabase Edge Function fails with CORS or 'Failed to send a request'
LovableBoltDatabase / Supabase RLS
FunctionsFetchError: Failed to send a request to the Edge Function / CORS preflight failedLovableBoltDatabase / Supabase RLS
Supabase Storage upload fails: new row violates row-level security policy (403)
LovableBoltv0Database / Supabase RLS
StorageApiError: new row violates row-level security policy (403 Unauthorized)LovableBoltv0Database / Supabase RLS
Postgres error: relation "public.xyz" does not exist
LovableBoltCursorv0Database / Supabase RLS
ERROR: 42P01: relation "public.profiles" does not exist / PostgREST could not find the tableLovableBoltCursorv0Database / Supabase RLS
Supabase "permission denied for table" (42501) on a new table
LovableBoltCursorv0ReplitDatabase / Supabase RLS
{"code":"42501","message":"permission denied for table your_table","hint":"Grant the required privileges to thLovableBoltCursorv0ReplitDatabase / Supabase RLS
Supabase table has RLS disabled (public Data API access)
LovableBoltv0CursorReplitDatabase / Supabase RLS
Table Editor shows RLS disabled / anon key can read or write the whole table via REST / security scanner flagsLovableBoltv0CursorReplitDatabase / Supabase RLS
Supabase update says saved but the change is gone after refresh
LovableBoltv0CursorReplitDatabase / Supabase RLS
update() returns no error but nothing changes / { data: [], error: null } / 'Saved!' toast, then the old valueLovableBoltv0CursorReplitDatabase / Supabase RLS
Supabase RLS is on but every user can read every row: fix USING (true) and auth.uid() is not null policies
LovableBoltCursorReplitv0Database / Supabase RLS
Row Level Security shows as enabled, but a logged-in user (or a logged-out visitor with the anon key) can stilLovableBoltCursorReplitv0Database / Supabase RLS
Supabase: Edge Function returned a non-2xx status code (how to find the real error and fix it)
LovableBoltCursorReplitv0Database / Supabase RLS
FunctionsHttpError: Edge Function returned a non-2xx status code. A button that calls supabase.functions.invokLovableBoltCursorReplitv0Database / Supabase RLS
Supabase project paused: app suddenly can't connect (Failed to fetch, 540) and how to bring it back
LovableBoltCursorReplitv0Database / Supabase RLS
Your Lovable, Bolt or Cursor app worked last week and now nothing loads: login spins forever, lists are empty,LovableBoltCursorReplitv0Database / Supabase RLS
Supabase .single() error PGRST116: JSON object requested, multiple (or no) rows returned
LovableBoltCursorReplitv0Database / Supabase RLS
PGRST116 (HTTP 406): 'JSON object requested, multiple (or no) rows returned' / newer wording 'Cannot coerce thLovableBoltCursorReplitv0Database / Supabase RLS
AI "fixed" my Supabase error by disabling RLS or using the service_role key: how to undo it safely
LovableBoltCursorReplitv0Database / Supabase RLS
Security Advisor flags 0013 rls_disabled_in_public or 0007 policy_exists_rls_disabled right after an AI fix / LovableBoltCursorReplitv0Database / Supabase RLS
Replit rollback did not bring my data back: how to restore the development or production database
ReplitDatabase / Supabase RLS
I rolled back to a Replit Agent checkpoint and the code is old again but the data is still wrong / rows the AgReplitDatabase / Supabase RLS
Supabase view shows every user's data even with RLS on: fix Security Advisor 0010 security_definer_view
LovableBoltCursorReplitv0Database / Supabase RLS
Security Advisor flags 0010 security_definer_view (View bypasses row-level security) or 0002 auth_users_exposeLovableBoltCursorReplitv0Database / Supabase RLS
Any user can make themselves admin or Pro: Supabase RLS lets users update their own role, plan or is_admin column
LovableBoltCursorReplitv0Database / Supabase RLS
A user changed their own role to 'admin', is_admin to true or plan to 'pro' from the browser console / supabasLovableBoltCursorReplitv0Database / Supabase RLS
Is my Lovable app leaking data without login? A Supabase RLS audit checklist after the Crissy Field study
LovableBoltCursorReplitv0Database / Supabase RLS
News: a study found thousands of Lovable apps returning Supabase records to visitors who never logged in / LovLovableBoltCursorReplitv0Database / Supabase RLS
Supabase Storage file links broken: private bucket, getPublicUrl and expired signed URLs
LovableBoltCursorReplitv0Database / Supabase RLS
Images show as broken icons and opening the file link shows {"statusCode":"404","error":"Bucket not found"} evLovableBoltCursorReplitv0Database / Supabase RLS
Changing the id in the URL shows other users' data (IDOR)
LovableBoltCursorReplitv0Database / Supabase RLS
I changed /orders/123 to /orders/124 (or ?id=, or a UUID copied from somewhere else) and saw another customer'LovableBoltCursorReplitv0Database / Supabase RLS
Supabase only returns 1,000 rows (max rows limit)
LovableBoltCursorReplitv0Database / Supabase RLS
My Supabase select returns exactly 1000 rows but the table has more / .limit(5000) still gives me 1000 rows / LovableBoltCursorReplitv0Database / Supabase RLS
Env vars & leaked keys
Supabase service_role key exposed in frontend code
LovableBoltv0CursorEnv vars & leaked keys
service_role key found in the JS bundle / NEXT_PUBLIC_SUPABASE_SERVICE_ROLE_KEYLovableBoltv0CursorEnv vars & leaked keys
OpenAI / Stripe secret key leaked in the browser
LovableBoltv0ReplitCursorEnv vars & leaked keys
sk-... or sk_live_... visible in DevTools network tab or page sourceLovableBoltv0ReplitCursorEnv vars & leaked keys
Environment variable is undefined in production
Cursorv0BoltEnv vars & leaked keys
process.env.X is undefined / import.meta.env.VITE_X is undefined after deployCursorv0BoltEnv vars & leaked keys
OpenAI 429 'You exceeded your current quota' or a surprise AI bill
CursorReplitBoltLovableEnv vars & leaked keys
429: You exceeded your current quota, please check your plan and billing detailsCursorReplitBoltLovableEnv vars & leaked keys
.env file committed to GitHub
CursorReplitBoltEnv vars & leaked keys
GitHub secret scanning alert / .env visible in a public repoCursorReplitBoltEnv vars & leaked keys
Someone reported a security hole in my vibe-coded app: what to do first
LovableBoltCursorReplitv0Env vars & leaked keys
'I can read other users' data through your API' / 'Your Supabase anon key lets anyone query every table' / 'YoLovableBoltCursorReplitv0Env vars & leaked keys
Your API error response shows your secret key: stop sending raw backend errors to the browser
LovableBoltCursorReplitv0Env vars & leaked keys
An error from your API route or edge function shows up in the browser (Network tab, toast or console) containiLovableBoltCursorReplitv0Env vars & leaked keys
Your API keys may have leaked: how to rotate every key without breaking your app
LovableBoltCursorReplitv0Env vars & leaked keys
A key was exposed (in the frontend bundle, a public repo, an error response, a screenshot), your Lovable/GitHuLovableBoltCursorReplitv0Env vars & leaked keys
Performance
Postgres: too many connections / remaining connection slots are reserved
Cursorv0ReplitPerformance
FATAL: sorry, too many clients already / remaining connection slots are reservedCursorv0ReplitPerformance
App is slow: dozens of database calls per page (N+1 queries)
LovableBoltCursorv0Performance
Page takes 3-10s; network tab shows many identical requestsLovableBoltCursorv0Performance
Too many re-renders / useEffect infinite loop
LovableBoltv0CursorPerformance
Error: Too many re-renders. React limits the number of renders / Maximum update depth exceededLovableBoltv0CursorPerformance
Have a question rather than an error? See every question these fixes answer, or look up an error code.