For want of a nail the kingdom was lost
Something of great importance may depend on an apparently trivial detail. The saying comes from a longer proverb about a battle during which the loss of a nail in a horseshoe leads to the loss of a horse, which leads to the loss of the rider, which leads to the loss of the battle, which in turn leads to the loss of a whole kingdom.