H2O means the dishwasher isn’t detecting water entering the tub, usually the supply valve or a kinked line.
H2O appears when the dishwasher doesn’t detect water filling the tub within the expected time. The water supply valve under the sink being closed is the single most common cause, oddly common after a dishwasher is reinstalled or a sink is serviced.
The information provided here is a diagnostic aid and does not replace the intervention of a qualified professional.
No cause is certain until it has been checked on the appliance.
An error code varies by brand
The same code can have a different meaning depending on the brand and model. Always check your appliance's manual before acting.
When to call a professional
If the simple checks turned up nothing, if the repair involves electricity, gas, or the sealed refrigerant system, or if you have any doubt at all: stop there and hand the appliance over to a qualified technician.