Answer:
Technicality is a noun defined as "a point of law or a small detail of a set of rules." So, to use "technicality" in a sentence:
It was merely a technicality that his left heel stepped over the line during his winning shot in last night's game, causing our team to lose the entire season.