Hi. Just to be sure. Do you use for the camera connection USB3 port on the RPi and USB3 cable? This is necessary for correct camera functions from data transfer and power management point of view. To be sure, that the cable is not problem, you should use the one from the original packaging.
If it so, what power supply for RPi do you use? For RPi5 is 27W recommended. Do you have any other devices connected to other USB ports?
Thanks, M.