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