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

Evacuations planned as suspected hantavirus outbreak traps 150 on ship off Cape Verde
Modi's party set to gain big in Indian state elections
Iran warns US Navy to stay clear of Hormuz after US offers to help stranded ships
Shooting at lake near Oklahoma City injures 10, more feared
United jet hits truck and light pole on approach to Newark airport
