Skip to content

Error inserting data into Supabase #26131

Discussion options

You must be logged in to vote

You asked this on discord also. TO authenticated means you only allow signed in users. You probably want TO public. If you do .select() on the insert then you also have to meet select RLS.

Not sure that error has anything to do with this or Supabase.

Note: You probably don't want .select() on the insert and you probably want the select policy to be at least TO authenticated so that everyone can't read the table entries.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by rbrandon087
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants