Circuits for Solenoids and LED's with 5V / 15V power supplies

You also need a current limiting resistor on the LED. Maybe 1K ohms. The LED is also drawn in backwards and will never light it it's installed that way. If it's installed the other (correct way) that could be why you are seeing a short. So put a resistor in series with it.