The E-2 error code on an Electrolux dishwasher appears when the electronic control board detects a fault in the turbidity sensor. If it does, the sensor needs a replacement. It is highly advisable to replace the “O” ring gasket on the harness on a regular basis. Make sure the harness is dry. If not, the plugs may grow rust and damage the sensor.