Extract Media from Anafi AI using Olympe

I need to be able to download the latest recorded video/photo from Anafi AI using Olympe.

However, when I use olympe.drone(IP).Media.last_media_id() or olympe.drone(IP).Media.list_media()

I am getting an empty list even when there is a lot of media present on the SD card of the drone.
Can someone please help me figure out the issue here.

Thanks in advance.