"Oxygen masks were deployed and the aircraft landed uneventfully at Baku airport at 01:03 (local time)," Singapore Airlines said in a statement.
"We are seeking clearance from local authorities to transfer affected customers to a hotel until a replacement aircraft arrives from Singapore," the airline said.