supabase_flutter
supabase_flutter copied to clipboard
Data not inserted into the table while RLS is enabled
I was referring to your code snippets for my own supabase project and tried inserting data into the supabase table but getting an error,
printing the response error, shows the following: PostgrestError(message: new row violates row-level security policy for table "user_info", code: 42361, details: null, hint: null). Any suggestion on how to resolve this @adityathakurxd
Hey @Sahil-kachhap I understand your concern. Supabase 👁️💚👁️ has updated a lot since this tutorial. I might have to work on it again to understand why it could be happening but this looks like a security or permission issue.
Possibly look up the Row Level Security here: https://supabase.com/docs/guides/auth/row-level-security
Also, I'd insist referring the official docs instead here: https://supabase.com/docs/guides/with-flutter
I really want to update this repo with latest information but haven't got the time. Sorry about that.
I really want to update this repo with latest information but haven't got the time. Sorry about that.
No issues