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

US Epstein files release highlights Clinton, makes scant reference to Trump
Bangladesh holds state funeral for slain youth leader amid tight security
US hits ISIS in Syria with large retaliatory strikes, officials say
Pakistan court hands Imran Khan, wife 17-year jail terms in another graft case
Seven elephants killed in India train accident
Israeli attack on school shelter in Gaza City kills 5 Palestinians
Nine injured in attack in Taipei, media reports
Putin offers no compromise on Ukraine, says EU 'robbery' failed
