You are probably offline WordPress Origin: Application & API OSI layer 7 · Application Last updated 14 Oct 2026

WordPress: Updating failed. You are probably offline.

The block editor’s save request to the REST API failed — network blip, REST API blocked, or the server returned an error/HTML.

Exact message you may see Updating failed. You are probably offline.Publishing failed. You are probably offline.You are probably offline
Seen on: WordPress

Meaning

The editor saves via /wp-json/. Security plugins, Cloudflare/WAF rules, REST disabled for some users, expired login or server errors show this generic message.

Common causes

  • REST API blocked (security plugin, WAF, host)
  • Login session expired
  • Server error (500) during save
  • Actual network interruption

⚡ Quick fix

  1. Check the Network tab for the failed /wp-json/ request and its response
  2. Test Site Health → REST API
  3. Whitelist /wp-json/ in security/WAF rules

Detailed fix by platform

Shell

  1. curl -s https://example.com/wp-json/ | head -c 200

How to diagnose

  1. Request — Status and body of the failed save
  2. REST — Site Health status
  3. Session — Still logged in?

🔧 Still not fixed?

Many errors look alike. If the steps above didn’t solve it, one of these is probably what you’re facing:

Where this error sits

Origin: Application & API. Errors that are often confused with or caused by this one (click to open):

Not a valid JSON response — WordPress: Updating failed. The response is not a valid JSON response. (WordPress)Not a valid JSON resp…rest_cookie_invalid_nonce — WordPress REST API: {"code":"rest_cookie_invalid_nonce","message":"Cookie check failed"} (403) (WordPress)rest_cookie_invalid_n…rest_forbidden — WordPress REST API: {"code":"rest_forbidden","message":"Sorry, you are not allowed to do that."} (401/403) (WordPress)rest_forbiddenrest_no_route — WordPress REST API: {"code":"rest_no_route","message":"No route was found matching the URL and request method."} (WordPress)rest_no_routeThe editor has encountered an unexpected error — WordPress block editor: The editor has encountered an unexpected error (Attempt Recovery / Copy Error) (WordPress)The editor has encoun…The REST API encountered an error — Site Health: The REST API encountered an error / Your site could not complete a loopback request (cURL error 28) (WordPress)The REST API encounte…This block contains unexpected or invalid content — WordPress: This block contains unexpected or invalid content. Attempt Block Recovery (WordPress)This block contains u…You are p…

Explore the map of this error Full error map →

🧠 Still stuck? Analyze your error

Paste the full message, response headers or stack trace — we'll detect the platform and point to the most likely cause.

💬 What worked for others

No tips yet — did something else fix this for you?

Share what worked for you

Tips are checked by an editor before they appear. Links are removed.