Title: Error #-200: HTTP Error when uploading image
Last modified: August 10, 2021

---

# Error #-200: HTTP Error when uploading image

 *  Resolved [siamnaulak](https://wordpress.org/support/users/siamnaulak/)
 * (@siamnaulak)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-200-http-error-when-uploading-image-3/)
 * Whenever I upload images from the frontend I got an “Error #-200: HTTP Error”
   message.
 * In one of your reply, I saw this
 * —-
    Please increase the max file size max_file_size limit from the following 
   file of WP User Frontend plugin. /wp-user-frontend/assets/js/frontend-form.js
   Line: 704 —-
 * But, when I checked the file in Line 704, I didn’t see anywhere to change the
   file size – [https://prnt.sc/1m2jope](https://prnt.sc/1m2jope). Can you please
   point me again where can I change this?

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

 *  [MM Aurangajeb](https://wordpress.org/support/users/aurangajeb/)
 * (@aurangajeb)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-200-http-error-when-uploading-image-3/#post-14754505)
 * Hello [@siamnaulak](https://wordpress.org/support/users/siamnaulak/)
 * > Whenever I upload images from the frontend I got an “Error #-200: HTTP Error”
   > message.
 * This error mostly occurs in server-side file upload limitations. So I would recommend
   you troubleshoot the issue by following [this article](https://help.servmask.com/2018/10/27/how-to-increase-maximum-upload-file-size-in-wordpress/).
 * Noteworthy, if these values are configured as a minimum from the hosting panel
   side, and the above article’s tips are not working, you need to contact your 
   hosting provider to increase the upload limit value and confirm with them about
   the limitation of the MAX file size uploading.
 * > But, when I checked the file in Line 704, I didn’t see anywhere to change the
   > file size – [https://prnt.sc/1m2jope](https://prnt.sc/1m2jope). Can you please
   > point me again where can I change this?
 * → We have updated the method & code-base so that reply was helpful, but now if
   you have the MAX file size and other respected values are increased, it should
   work fine.
 * Thanks!
 *  Thread Starter [siamnaulak](https://wordpress.org/support/users/siamnaulak/)
 * (@siamnaulak)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/error-200-http-error-when-uploading-image-3/#post-14755610)
 * Thank you so much Aurangajeb. This one works perfectly
 *     ```
       @ini_set( 'upload_max_filesize' , '128M' );
       @ini_set( 'post_max_size', '128M');
       @ini_set( 'memory_limit', '256M' );
       @ini_set( 'max_execution_time', '300' );
       @ini_set( 'max_input_time', '300' );
       ```
   

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

The topic ‘Error #-200: HTTP Error when uploading image’ is closed to new replies.

 * ![](https://ps.w.org/wp-user-frontend/assets/icon-256x256.gif?rev=2818776)
 * [User Frontend: AI Powered Frontend Posting, User Directory, Profile, Membership & User Registration](https://wordpress.org/plugins/wp-user-frontend/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-user-frontend/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-user-frontend/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-user-frontend/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-user-frontend/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-user-frontend/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [siamnaulak](https://wordpress.org/support/users/siamnaulak/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/error-200-http-error-when-uploading-image-3/#post-14755610)
 * Status: resolved