If you did not include a model # XXXXX your question please do on you second reply if possible,this helps us serve you faster.
If there is too much water or foam in the machine the overflow contact
on the pressure switch is closed. If the valves are open they are
automatically closes and the drain pump is switched on for at least 30
seconds. If overflow ow occurs 5 times the error code is displayed and the
pump drains the machine. To unlock the door press PAUSE/CANCEL.
Check the drain hose and make sure it is not plugged or kinked.
Unplug washer or disconnect power.
Check wire harness connections to the drain pump, pressure switch,
water inlet value, and Central Control Unit (CCU).
Check/clean drain pump filter of foreign objects.
Check for drain pump failure.
Check the inlet valve for proper shut off.
Check the pressure switch for proper operation.
this was probably caused by a suds problem to start with, above in the what the manual says to do, was the drain clogged when you checked it?