Had the same with our Bosch in the last year. Kept on filling with water
after the normal 30 secs but pumping it out at the same time, with the
"check water" light on (doesn't do codes). If it's out of warranty I
would open it and remove the part, give it a shake and reconnect it. If
that doesn't solve it (temporarily), replace the part. A google
diagnosis of mine said it was the problem (part was around ᅵ15, but it
was just within its 2 year home service warranty so I let them do the work).