0 - Process could not be started [The system cannot find the path specified. ]

trying to create the basic contact form (used example from grav docs); all going well until I try to actually use it. Form loads fine, can fill in all the fields, but upon hitting submit I get the " 0 - Process could not be started [The system cannot find the path specified. ]" error. I have no idea why this isn’t working and I am extremely new to all of this.


title: 'Contact us'
    name: contact-form
            name: name
            label: 'Your name (optional)'
            placeholder: null
            autofocus: 'on'
            autocomplete: 'on'
            type: text
                required: false
            name: email
            label: 'Your email address'
            placeholder: null
            type: email
                required: true
            name: message
            label: Message
            size: long
            placeholder: 'Enter your message'
            type: textarea
                required: true
            type: submit
            value: Submit
            classes: 'btn btn-lg btn-primary'
            type: reset
            value: Reset
            classes: 'btn btn-lg btn-secondary'

                from: '{{ config.plugins.email.from }}'
                    - '{{ config.plugins.email.to }}'
                    - '{{ form.value.email }}'
                subject: '[Feedback] {{ form.value.email|e }}'
                body: '{% include ''forms/data.html.twig'' %}'
                fileprefix: feedback-
                dateformat: Ymd-His-u
                extension: txt
                body: '{% include ''forms/data.txt.twig'' %}'
            message: 'Thank you for your feedback!'
            display: thankyou

Hi suprnoodle,

You should first check your email plugin parameters.
Also enable logs in GRAV and plugins and check the output.

Are you using the form in a modular page ?
From what I see here you’re displaying the thankyou message in a separate page (thankyou).
Is it created ?
Try to disable the “display: thankyou” line to see if the error is related to this (the email will be sent but you’ll only get the feedback message on screen).

thanks virusX for your reply. everything is configured as it should be, turns out the issue was that it doesn’t work while I am running locally on my PC. When we sync to our dev server it works just fine.