On the Beko B3WFU48215WW ES, E5 points to the pump filter and E27 to the drain installation. For both, check the drainage with the model confirmed.
Two alerts along the same route
The table on page 40 of the manufacturer documentation does not present E5 and E27 as interchangeable codes. For E5, check that the filter is clean; for E27, compare the hose and its connection with the installation section in particular.
Check for kinks, a blocked household drain and the drain height. Don't use a measurement from another series or change connections without checking the manual.
Preparing to clean the filter
Stop the appliance, disconnect it safely and let the water cool. Use the intended gradual draining method, with a container and a way to stop the flow. Remove the filter only afterwards; clean accessible debris and close it again securely to prevent leaks.
If the drainage path is clear and the alert reappears during operation, request service. If you saw it only in the history, note that and the current behaviour: don't dismantle parts to correct an old record. Cleaning the drain filter provides more detail on preparation.
Clearing a stored code does not verify the machine's water flow rate.
