Title: 404 Errors
Last modified: March 8, 2021

---

# 404 Errors

 *  [robrandell](https://wordpress.org/support/users/robrandell/)
 * (@robrandell)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/404-errors-115/)
 * Hi,
    One of our websites has been getting a few blank submissions from the contact
   form of late, ie. there appears to be no information submitted. After some discussion
   with the web hosting and investigating the server logs we are spotting requests
   like the one below which results in a blank email being sent and the API that
   the submission is sent to is rejecting the submission because one of the fields
   is required but is empty, in fact all the fields are empty.
 * [06/Mar/2021:05:04:04 +0000] “POST /contact-forms/6560/feedback HTTP/1.0” 404
   24073
 * Furthermore, the website uses a function and the hook, ‘wpcf7_before_send_mail’
   to process the data, send that data to a eCRM API as well as sending an email
   as a record. The webhost is nginx WordPress managed hosting solution. I believe
   it is related to a current open issue, [https://github.com/takayukister/contact-form-7/issues/359](https://github.com/takayukister/contact-form-7/issues/359).
 * It appears that the request is being made resulting in a 404 error but the function/
   hook is still being triggered.
 * By in large, the form is working fine and any submitted legitimate data is being
   processed correctly but these blank submissions are being noticed.
 * Is there a workaround in the meantime?
 * Thanks,
    Rob —

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [tonydjukic](https://wordpress.org/support/users/tonydjukic/)
 * (@tonydjukic)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/404-errors-115/#post-14152494)
 * This isn’t an isolated incident; every CF7 form on every site I’ve tested over
   about 8 hours today while trying to troubleshoot something complex has returned
   a 404 for the feedback AJAX.
 * The messages are still going through but end users aren’t receiving any feedback.
 * I have tested this on complex, intricate sites, so my own personal site where
   I disabled everything except CF7 and the only fields are name, email, phone &
   message.
 * Regardless of the environment/hosting, WP configuration, plugins being used, 
   themes being used, the only constant is that CF7 does not give the end user feedback
   and the console offers a 404 error for `feedback`.
 *  Thread Starter [robrandell](https://wordpress.org/support/users/robrandell/)
 * (@robrandell)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/404-errors-115/#post-14162568)
 * Thanks tonydjukic. I have rolled back to v5.3.2 and will see how that fares.
 * The latest plugin was causing issue on another site in development flagging up
   the `wp` classes not being found and the `api-fetch` not working, deactivated
   the plugin and the errors ceased. So, rolled that one back too.
 * Thanks,
    Rob —
 *  Thread Starter [robrandell](https://wordpress.org/support/users/robrandell/)
 * (@robrandell)
 * [5 years, 2 months ago](https://wordpress.org/support/topic/404-errors-115/#post-14195883)
 * Figured out the blank email issue. There is two forms on the website and a check
   for the `id` for the form being used. That method for retrieving the `id` has
   been updated. The system didn’t know which form was being used so the hook applied
   to both and not just the one form as intended.
 *     ```
       $wpcf7 = WPCF7_ContactForm::get_current();
       $form_id = $wpcf7->id();
       ```
   

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘404 Errors’ is closed to new replies.

 * ![](https://ps.w.org/contact-form-7/assets/icon.svg?rev=2339255)
 * [Contact Form 7](https://wordpress.org/plugins/contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/contact-form-7/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [robrandell](https://wordpress.org/support/users/robrandell/)
 * Last activity: [5 years, 2 months ago](https://wordpress.org/support/topic/404-errors-115/#post-14195883)
 * Status: not resolved