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