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?
Was this page helpful?