Thousands of American Airlines flights scheduled to fly during the height of the holiday travel season have no pilots assigned to them because of a computer glitch.

The scheduling glitch allowed all pilots to choose to take vacation days around Christmas, CNBC reported, with flights in New York, Dallas, and Chicago among the most affected.

"The computer said, 'Hey ya'll. You want the days off? You got it,'" Dennis Tajer, an American Airlines captain, told CNBC.

American Airlines is offering pilots extra pay to pick up some of the stranded flights.

Matt Miller, American Airlines spokesperson, said the airline's employees are "working diligently to address the issue and expect to avoid cancellations this holiday season.”

“We have reserve pilots to help cover flying in December, and we are paying pilots who pick up certain open trips 150 percent of their hourly rate — as much as we are allowed to pay them per the contract," Miller said in a statement. "We will work with the [pilots union] to take care of our pilots and ensure we get our customers to where they need to go over the holidays."