Unable to create snapshots from Hikvision camera

When trying to take a snapshot, it creates a corrupted 317 bytes file for every single time.


Screenshot 2024-05-24 at 13.53.55

What could be the problem?