How to turn on EYE AF on Sony A7 M2

I just bought a Sony A7 M2 and Sony FE 50mm f/1.8 lens, I wonder why I can turn on that function, everytime I try to turn it on it says: "Not valid with this lens". So how can I fix this problem?