washer starts then stops filling after replacing lid switch

I just replaced the lid switch on my coin op whirlpool top loader (after a tenant snapped it off!) and now the washer doesn’t fill. If I unplug and then plug it back in, it starts to fill but stops after only a second or so.

Any ideas as to what’s wrong?

Thanks!

Kathy