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."

Five dead at Russian nuclear arms research facility after ammunition explosion
King Charles unveils 'human-centered' AI principles with tech giants
Philippines' Duterte takes the stand in 'politicised' impeachment trial
Hong Kong court finds three guilty of model's gruesome murder
At least 62 killed in Indonesia's Papua riots since Tuesday, police say
India's parliament approves landmark bill to expand legislatures
US senators grill Nvidia CEO over affair with alleged Chinese spy, national security risks
Mexico detains 13 public servants, probes links to organised crime
