JA 5171 then 4C 4198 at Bogotá
Santa Marta → Bogota → Bucaramanga
Timetable, Bogota time
12:15JA 5171 from Santa Marta at the gate
11:264C 4198 to Bucaramanga leaves the gate
23 h 11 apart on the timetable, overnight
4C 4198 leaves 23 h 11 after JA 5171 arrives on the timetable: more than half a day, so not a connection we count.