You probably don't have permission to save the file in the selected folder ...which could be a permissions error if you think that you should be able to save there. Run Disk Utility and do a Verify of the disk, then a Repair Permissions ... unless you are saving to a network volume...
One of the forum moderators
AC 28 USA and earlier • macOS Sequoia 15.2, MacBook Pro M2 Max 12CPU/30GPU cores, 32GB