It wasn’t the solenoid, it was the bar that opens the flap which either allows ice cubes through or crushed ice. There’s a couple of crimped bits on the bar which are supposed to fit either side of a metal clip and stops the bar from moving to and fro. Because the bar wasn’t seated between these crimps, the end of the bar was snagging at the flap end.