Skip to content

"new row violates row-level security policy" error for every insert call #31

Answered by jan-tennert
TheOnlyTails asked this question in Q&A
Discussion options

You must be logged in to vote

It might be that you only have access to inserting in the table but not selecting, so try to set the returning parameter to minimal (which won't return the changed row when calling decodeAs) or change the rls policy. But it seems like you want to receive the updated data so you probably have to look in your policies

Replies: 1 comment 5 replies

Comment options

You must be logged in to vote
5 replies
@TheOnlyTails
Comment options

@jan-tennert
Comment options

@TheOnlyTails
Comment options

@jan-tennert
Comment options

@TheOnlyTails
Comment options

Answer selected by TheOnlyTails
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants