Disable the RLS on both the referencing table and the refrenced table for now. It will solve this problem temporarily