ironic error
Noun
Meaning
A blunder that occurs as the result of a strenuous effort to avoid it, such as spilling a drink because one is concentrating on not doing so.
Used other than figuratively or idiomatically: see ironic, error.
Source: en.wiktionary.org