Error exporting to video file

trying to export using a moviefileout TOP. Sometimes it works and sometimes it doesn’t. The TOP returns “error writing out to file”. Please help! Why could this be happening? I’m using version 2023.11880.