Why am I getting this error trying to find a user by email?

I suggest use the entityService over query btw.