Can't access a table using RLS.
Hi! I created two RLS policies: INSERT for authenticated users only and the same for SELECT (check screenshots).
Then I try to INSERT a new row into this table and get this error: postgrest.exceptions.APIError: {'code': '42501', 'details': None, 'hint': None, 'message': 'new row violates row-level security policy for table "kisis_forms"'}
I use these docs for Supabase Py: https://github.com/supabase-community/supabase-py
So initially I create a client:
Guys, could you please help me to resolve this?
Then I try to INSERT a new row into this table and get this error: postgrest.exceptions.APIError: {'code': '42501', 'details': None, 'hint': None, 'message': 'new row violates row-level security policy for table "kisis_forms"'}
I use these docs for Supabase Py: https://github.com/supabase-community/supabase-py
So initially I create a client:
Guys, could you please help me to resolve this?

GitHub
Python Client for Supabase. Contribute to supabase-community/supabase-py development by creating an account on GitHub.