Broken After a Change
How to Fix the 'HTTP Error' When Uploading Images to WordPress
HTTP error
What's happening
You drag an image into the media library, the progress bar creeps along, and then it stops with a red message that just says "HTTP error." No explanation, no detail. Try again and it might work, or it might fail in exactly the same way.
It's one of the most frustrating messages WordPress produces, because it tells you nothing at all. The good news is that it almost never means anything is seriously wrong with your site — everything else usually keeps working normally.
Why it happens
The message means WordPress handed your image to the hosting server and the server refused it without saying why. That refusal usually comes down to size or resources: the file is bigger than your host allows, or processing it — resizing a large photo takes real memory — pushed past a limit.
The other common causes are a security or optimization plugin inspecting uploads and rejecting them, and modern camera or phone images in formats and file sizes far larger than a typical website expects. Very occasionally it's a genuine hiccup on the server that clears on its own.
What you can safely try
- Wait a minute and try the same image again. Sometimes it's a momentary hiccup, and trying again costs you nothing.
- Try a noticeably smaller image, or resize a large photo before uploading. If the small one works, you've found the shape of the problem.
- Rename the file to something simple with no spaces, apostrophes, or accented characters, and make sure it ends in
.jpgor.png. - Try a different browser to rule out something local to yours.
- Don't start raising server limits by editing configuration files. Those files break sites when they're edited wrong, and the wrong limit raised in the wrong place fixes nothing.
When to call us
The real fix depends on which limit or plugin is doing the rejecting, and that's readable in your host's logs rather than guessable from the screen. We find the actual cause, raise the right limit or clear the right conflict, and confirm uploads work with the kind of files you actually use. If you're stuck unable to add images to your own site, send it our way.
Common questions
- Why doesn't the error say what's actually wrong?
- Because WordPress genuinely doesn't know. The upload is handed off to your hosting server, and if it comes back rejected without an explanation, WordPress has nothing to report but 'HTTP error'. The real reason is in your host's logs, not on the screen.
- It worked yesterday and I haven't changed anything — how?
- Uploads depend on limits set by your host, and those can change without you touching a thing: a plan adjustment, a server update, or simply a busier server than usual. A larger-than-normal image can also cross a limit you'd never hit before.
Related terms
Want this fixed for you?
Emergency WordPress Fixes
From $149, flat rate. You approve the price before we start.