© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
10 replies
Sticks

RLS Issues

Hi, I'm using the base auth templete, have a session, but I still get a can't insert RLS error.

I'm using svelte kit's server routes and getting the session based on the JWT passed in the header.

Here's my code: https://paste.hep.gg/horow.typescript
and the error:
Failed to insert waitlist entry for a4c2fc77-e652-4925-9791-a3b428820748: {"code":"42501","details":null,"hint":null,"message":"new row violates row-level security policy for table \"waitlist\""}
Failed to insert waitlist entry for a4c2fc77-e652-4925-9791-a3b428820748: {"code":"42501","details":null,"hint":null,"message":"new row violates row-level security policy for table \"waitlist\""}


And the INSERT policy: https://img.sticks.ovh/JrpLXCIR9 (uses the base one provided by supabase)

Any help would be appricated.
Preview image
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

RLS issues
SupabaseSSupabase / help-and-questions
4y ago
Performance issues with RLS
SupabaseSSupabase / help-and-questions
6mo ago
Supabase - RLS Policies Issues
SupabaseSSupabase / help-and-questions
13mo ago
Issues with UPDATE RLS policy
SupabaseSSupabase / help-and-questions
5mo ago