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

No evidence alleged Bondi gunmen received military training in Philippines
At least 12 killed in Nigeria mining site attack
Russian attack on Ukraine's central Cherkasy injures six, causes blackouts
UN, aid groups warn Gaza operations at risk from Israel impediments
Israel approves natural gas deal with Egypt, Netanyahu says
US approves $11.1 billion largest-ever arms package for Taiwan
Trump adds seven countries to full travel ban list
Indian parliament votes to allow private firms in nuclear power sector
