Title: Processing server errors
Last modified: April 11, 2020

---

# Processing server errors

 *  [locker](https://wordpress.org/support/users/locker/)
 * (@locker)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/processing-server-errors/)
 * Is there any method to process server error in CF7? For example, if user upload
   a file with a size larger than my server allow, user will get 413 error, but 
   CF7 can’t show this error, because response is not a valid JSON.

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

 *  Plugin Author [Takayuki Miyoshi](https://wordpress.org/support/users/takayukister/)
 * (@takayukister)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/processing-server-errors/#post-12661643)
 * See [File uploading and attachment](https://contactform7.com/file-uploading-and-attachment/)
 * Why don’t you set the `limit` option to a value smaller than the server maximum
   limit?
 *  Thread Starter [locker](https://wordpress.org/support/users/locker/)
 * (@locker)
 * [6 years, 1 month ago](https://wordpress.org/support/topic/processing-server-errors/#post-12661659)
 * Hi Takayuki! I think you don’t understand the problem. For example, I set limit
   to 5Mb in CF7 field, server limit is 10Mb (`client_max_body_size 15M;`). If user
   upload file with a size 15Mb, server refuse this file BEFORE php and response
   will be with default server error page which isn’t correct JSON, right? JS didn’t
   get correct response and user get infinity preloader.
    -  This reply was modified 6 years, 1 month ago by [locker](https://wordpress.org/support/users/locker/).
    -  This reply was modified 6 years, 1 month ago by [locker](https://wordpress.org/support/users/locker/).

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

The topic ‘Processing server 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/)

 * 2 replies
 * 2 participants
 * Last reply from: [locker](https://wordpress.org/support/users/locker/)
 * Last activity: [6 years, 1 month ago](https://wordpress.org/support/topic/processing-server-errors/#post-12661659)
 * Status: not resolved