Search
Setup for Free
S
Supabase
•
4y ago
felixthehat
RLS Insert working but Upsert throws a 'new row violates row-level security policy 42501' error
Hi folks
, I can
't work out the RLS rule to allow upserts
, when insert is working fine
, is there a rule I should be adding for upserting
? thanks
!
Supabase
Join
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
44,393
Members
View on Discord
Similar Threads
Was this page helpful?
Yes
No
© 2026 Hedgehog Software, LLC
Twitter
GitHub
Discord
System
Light
Dark
More
Communities
Docs
About
Terms
Privacy
Similar Threads
upsert() new row violates row-level security policy
S
Supabase / help-and-questions
4y ago
42501 - "New row violates row-level security for table"
S
Supabase / help-and-questions
3y ago
StorageApiError: new row violates row-level security policy
S
Supabase / help-and-questions
2mo ago
RLS policy set but message: "new row violates row-level security policy for table xxxxxx"
S
Supabase / help-and-questions
12mo ago