Washer Won;t Spin

I Hope Someone Can Help With This Washer Machien It Won;t Spin It Will Drain.i Check Lid Switch,internall Fuse,thats All Good.but Led Won’t Light Up.tryed Resetting Motor Won;t Power Up Anything Im Missing.it’s Only 2years Old

I have a front loading washer, same problem. First cleaned out pump filter (found $4.10 in change). That didn’t fix the problem. Replaced door latch (that tested OK) ande that fixed the problem.