Updated on November 19, 2026

WordPress Site Health REST API Error: What to Check

Site Health can report a REST API error even when the homepage works. The response tells you what to check next.
Charcoal server and diagnostic console linked by green and cyan signals
Table of Contents

If Tools > Site Health > Status reports a REST API error, expand the warning and copy the response line. WordPress tried to make an authenticated request to its own REST API. A working homepage does not show whether that request succeeded, and the warning alone does not show that your editor is broken. The response and a small draft test tell you what to check first.

What Site Health tests

The WordPress core test requests the post type information used by the block editor. It asks for the editing context, where WordPress expects to see details such as editing permissions. The request starts on the server, not in your browser. Opening the public REST API address in a private window can show that a public route responds, but it cannot confirm that this signed-in test works. An authentication error on an edit-only request made while logged out can be expected.

WordPress uses different notices for a request error, an unexpected HTTP status and a response missing expected edit details. Record the wording, the response code and the time. If Site Health also shows a separate loopback warning, record it separately. A shared cause is possible, but the two checks do not ask WordPress to do the same thing.

Use the response to pick the next check

What Site Health reports What to check next
Request timed out or could not connect Repeat the check once and note the time and any recent host or domain change. Ask the host to check whether requests from the WordPress server reach the site’s own hostname and finish in time.
HTTP 401 or 403 Save any unsaved editor work, sign in again and retest. If it persists, ask the maintainer to identify whether WordPress, the hosting access layer or an edge rule returned the rejection. Do not disable protection to make the warning disappear.
HTTP 404 or 5xx For a 404, confirm the reported host and requested path match this installation; bring any recent migration or URL change to the host’s attention. For a 5xx response, ask for the matching application or server log entry.
The edit response did not behave correctly Ask the maintainer to confirm the editing query and login context survived to WordPress, and that no cached or public response replaced the signed-in one. A 200 status alone does not prove that it returned editing information.

Check the editor without changing a live page

  1. In the block editor, open a dedicated private test environment or create a plainly named, unpublished test draft with no real customer content. Do not use a page that already takes orders or enquiries.
  2. Add a distinctive test sentence and choose Save draft. Reopen the draft in a new tab and confirm that the saved sentence is there. Seeing it only in the original tab is not proof that WordPress saved it.
  3. If the save works, report that result alongside the Site Health warning. It shows that this editor action worked, not that every signed-in REST request works. If the save fails or the text is missing, preserve the text and use the failed editor save guide for that separate symptom.

For example, suppose Site Health reports a timeout but a test draft saves and reopens with the right text. Give the host those two results and the time of the timeout. Ask it to trace the request from the WordPress server. Do not reset permalinks, flush unrelated settings or start switching off plugins on the live site just because the homepage and the Site Health check disagree.

Verify the repair before closing the ticket

Share the warning, the time with its time zone, the hostname and path, and the save-test result. Leave out cookies, authentication headers, private tokens and customer content. Ask for the specific cause and repeat both checks after the smallest proposed change. If editing or another important workflow starts failing after that change, stop and have the person who applied it restore that specific change, then repeat the same checks. If the real problem is missed scheduled work, use the scheduled-task diagnosis rather than treating a green REST check as proof that jobs run.

NOT SURE WHAT IS SLOWING YOUR SITE DOWN?

Request a WordPress Core Web Vitals report to see which loading, responsiveness, stability, and accessibility issues deserve attention first.