The world's first computer bug was an actual insect.
In 1947, a team of engineers at Harvard University was working on the Mark II computer when they discovered a moth stuck in one of the relays. The moth was later taped into the computer's logbook with the note "First actual case of bug being found." This incident marked the beginning of the term "computer bug," which has since become a ubiquitous metaphor for technical errors.