WordPress 'Updating Failed. The Response Is Not a Valid JSON Response'
Workaround available Self-hosted WordPress (WordPress.org) Updated November 13, 2026Based on 4 user reportsHow we research
Quick answer
The block editor could not read the REST API reply. Re-save Permalinks, make sure both URLs match, then disable plugins and security rules that break the REST API.
Most likely fix: Check the URLs
How to fix it
Try these in order — the most common fix is first.
1. Check the URLs
- Settings > General: WordPress Address and Site Address must both be correct and use the same protocol.
Did this fix it?2. Reset permalinks
- Settings > Permalinks, click Save Changes without changing anything. If it persists, regenerate .htaccess by renaming it first.
Did this fix it?3. Test plugins and theme
- Deactivate all plugins and switch to a default theme, then retry saving. Reactivate until the error returns.
Did this fix it?4. Check redirects and firewall
- Make sure only one thing forces HTTPS, and whitelist /wp-json/ in any firewall, CDN or security plugin rule.
- Open yoursite.com/wp-json/ in a browser. It should show JSON, not a page or error.
Did this fix it?5. Use the Classic Editor temporarily
- Install the Classic Editor plugin to publish while you debug.
Did this fix it?
Symptoms
When saving or publishing a post the editor shows 'Updating failed' or 'Publishing failed. The response is not a valid JSON response.'
Why it happens
- Mismatched WordPress Address and Site Address
- Broken permalinks or .htaccess rules
- A plugin or theme printing warnings or extra output before the JSON
- Mixed content or competing HTTPS redirects
- A firewall or security plugin blocking the REST API
This guide also covers
- updating failed the response is not a valid json response
- wordpress publishing failed json
- wordpress gutenberg updating failed
Still not working?
If WordPress keeps failing, you're not alone. See every WordPress problem users report or the alternatives people switch to.
Done fighting WordPress? Our small team builds your own WordPress alternative, made for how you work. On your domain or hosted by us. Price agreed together.
Get a quoteOther WordPress errors
- WordPress White Screen of Death
- WordPress Error Establishing a Database Connection
- WordPress Critical Error: 'There Has Been a Critical Error on This Website'
- WordPress 500 Internal Server Error
- WordPress Too Many Redirects (ERR_TOO_MANY_REDIRECTS)
- WordPress Stuck in Maintenance Mode: 'Briefly Unavailable for Scheduled Maintenance'
- WordPress 'Allowed Memory Size Exhausted' Fatal Error
- WordPress Posts Return 404 Not Found