AV 9777 then VB 8102 at Bogotá
Riohacha → Bogota → Medellín
Timetable, Bogota time
18:05AV 9777 from Riohacha at the gate
17:40VB 8102 to Medellín leaves the gate
23 h 35 apart on the timetable, overnight
VB 8102 leaves 23 h 35 after AV 9777 arrives on the timetable: more than half a day, so not a connection we count.