This is strange as airlines usually allow you to enter the PNR (booking reference) and any of the names in the booking. The implementation is usually that they lookup your booking from the PNR then effectively regex to see if your name is inside one of the name lines in the record. I can't think of a reason why this wouldn't work unless it was a connecting journey and the carrier didn't have the correct permissions on the the record.