#53 most commondatabaseLovableBolt.newCursorWindsurf
Storage: Bucket not found / upload blocked
StorageApiError: Bucket not found / 403 Unauthorized new row violates row-level security policy (storage upload)
Got a slightly different error? Paste the exact message and get a fix prompt tailored to it.
Paste your error →What it means
Your app tries to upload or show files from a storage folder ('bucket') that either doesn't exist under that name or doesn't allow this user to upload.
How to fix it: paste this prompt into your AI builder
Fix prompt for Lovable, Bolt, Cursor, Windsurf
My Supabase Storage upload fails. Check the bucket name the code uses matches an existing bucket exactly; if it doesn't exist, give me SQL to create it (public or private as appropriate). Add storage.objects policies for that bucket: INSERT (and SELECT) for authenticated users, ideally limited to a folder named after their user id. Don't make private files public and don't change other code.
If the AI can't fix it: manual steps
- Supabase dashboard, Storage: confirm the bucket name and whether it's public.
Where this happens
Seen in these AI app builders and editors:
LovableBolt.newCursorWindsurf
Sources
Related database errors
Still stuck? Paste your full error and UnstuckMyVibe will match it and hand you the exact fix prompt.
Fix my error →