Try googling it by make and model. I had a front load washing machine that did the same thing and googled it. Found out that the most probable problem was a solenoid valve that was easy to replace. It worked when I replaced it. I ordered the part on line and got it in a couple days.
Not sure if parts are as easy to get with all the supply issues now though.