The Boeing 787 aircraft, which was carrying more than 300 passengers, had attempted to land at two other airports first, but failed due to high winds