AV 8515 then JA 5172 at Bogotá
Valledupar → Bogota → Santa Marta
Timetable, Bogota time
17:50AV 8515 from Valledupar at the gate
15:00JA 5172 to Santa Marta leaves the gate
21 h 10 apart on the timetable, overnight
JA 5172 leaves 21 h 10 after AV 8515 arrives on the timetable: more than half a day, so not a connection we count.