Why am I getting this error while also getting the data? - Supabase