Whirlpool Duet front loader washer fills with water and stops F20 error

5 year old Whirlpool Duet sport front loader washer fills with too much water the stops with an F20 error code?

Try changing out the water pressure switch, but before you do that make sure the tube to that switch is clean and clear.