Symptom
An indicator LED on a 5 V GPIO flashes bright once, then stays dark for good.
Root cause
Nothing limits the current. The LED pulls far past its rating and fails open.
Fix
Add a series resistor sized from (V supply − V forward) / I forward, with margin for the GPIO’s drive limit.