JA 5171 then AV 9470 at Bogotá
Santa Marta → Bogota → Bucaramanga
Timetable, Bogota time
16:15JA 5171 from Santa Marta at the gate
12:05AV 9470 to Bucaramanga leaves the gate
19 h 50 apart on the timetable, overnight
AV 9470 leaves 19 h 50 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.