© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•4mo ago•
1 reply
niklasd

Opening Bucket in Supabase Studio fails due to "New row violates row level security"

Hi,
I have the issue that when opening a bucket in Supabase Studio I get the error "Failed to retrieve folder contents from "public": new row violates row-level security policy, and no files appear.

That is curious because of two facts:
- It only happens on the staging project, which has exactly the same RLS policies as production, where no error occurs.
- When opening a bucket in Studio, there shouldn't be an inserts happening? Where is the new row coming from?
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

StorageApiError: new row violates row-level security policy
SupabaseSSupabase / help-and-questions
4mo ago
upsert() new row violates row-level security policy
SupabaseSSupabase / help-and-questions
4y ago
42501 - "New row violates row-level security for table"
SupabaseSSupabase / help-and-questions
3y ago
New row violates row-level security policy for table
SupabaseSSupabase / help-and-questions
4y ago