24v DC solenoid coil with LED indication getting failure sometimes in reverse polarity
Usually there is surge protection on solenoid plugs with LED, but that protection could be a zener diode or a MOV. 

If it is a MOV the solenoid will work in either direction but the LED will be reverse biased and will not work in the reverse direction. The LED will probably not be destroyed by this but it will typically exceed the reverse voltage rating. 

If it is a Zener then the diode will be forward biased in the reverse direction and the driver will see a short circuit. This can destroy the Zener and/or the driver.