Are you using the ESP32 Downloader Kit?
In my case
ESP32 Downloader Kit and
I installed the ESP32 Downloader Kit's Driver, and it is not working. I was able to do it.
This may not be the case for you.
I hope this will be of some help to you.
■Reference Site
https://docs.m5stack.com/en/unit/poe_cam
CONTENTS -> SPECIFICATIONS -> Notes