SupabaseS
Supabase12mo ago
Grantly

RLS Error Logging

I am trying to figure out a good system for debugging my RLS rules. I am wondering if Supabase supports logging of errors. If I am correct with PGSQL you can use "RAISE" as a print statement. Does this get logged anywhere within Supabase?

I am getting one of these: "more than one row returned by a subquery" and I just have no idea which rules or which part of a rule's query is throwing the error.

Thanks in advance!
Was this page helpful?