Issue with file upload field in Forminator

On my site, I'm getting the following error when I'm trying to submit a form:

"There was an error saving the post data. Please try again".

There are 3 file upload fields, which aren't required. If I add files to all of the fields I can submit the form.