JA 5171 then AV 9776 at Bogotá
Santa Marta → Bogota → San Andres
Timetable, Bogota time
14:35JA 5171 from Santa Marta at the gate
14:20AV 9776 to San Andres leaves the gate
23 h 45 apart on the timetable, overnight
AV 9776 leaves 23 h 45 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.