Hello,
Probably it’s related to your server settings https://contactform7.com/faq/after-submitting-the-form-i-get-an-error-message/ Contact your server admin.
Regards