Error inserting data into Supabase #26131
Answered
by
GaryAustin1
rbrandon087
asked this question in
Questions
-
Beta Was this translation helpful? Give feedback.
Answered by
GaryAustin1
May 11, 2024
Replies: 1 comment
-
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. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
rbrandon087
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.