The first computer bug was a literal bug.
To be exact, a moth.
On Sept 9, 1947, a moth got trapped in Harvard University's Mark II computer -- causing multiple errors.
This bug disrupted the electronics inside the Mark II.
Here's a photo of that first computer bug.
