British Airways has launched an investigation after a flight to Dusseldorf landed in Edinburgh instead.
The airline said the error happened after a sub-contracted crew used an incorrect flight plan.
Passengers only realised the mistake after the plane landed in the Scottish capital, and were flown to their original destination after the plane was refuelled.
In a statement, British Airways said: "We are working with WDL Aviation, who operated this flight on behalf of British Airways, to establish why the incorrect flight plan was filed.
"We have apologised to customers for this interruption to their journey and will be contacting them all individually."

Trump says Iran ceasefire 'on life support' after he rejects Tehran's response
India's Modi to begin five-nation tour, including UAE
EU ministers agree on sanctions targeting violent West Bank settlers
Last six passengers leave Hantavirus-hit ship as captain hails their patience
Suspect in Trump attempted assassination pleads not guilty
UK's Starmer promises to be bolder to try to rescue his job
Philippine lawmakers to vote on impeachment of presidential hopeful Duterte
Six people found dead in boxcar in Texas, police say
