to fail to be or to get either of two choices, both of which would have been acceptable
Definitions from the Oxford Advanced Learner's Dictionary, 9th edition