Skip to content
2xx · Success

204 No Content

The request succeeded but there is no content to return in the body.

What it means

HTTP 204 No Content signals success with an empty body. The server processed the request but has nothing to send back — the client should keep its current view and simply note that the action worked.

When it happens

It happens after actions that need no response body: saving a setting, deleting a record, or a DELETE request that completes successfully.

How to fix it

  • Nothing to fix — 204 is valid when no response body is needed.
  • Do not return 204 for a page a user is meant to view; pages should return 200 with content.

SEO impact

Avoid for indexable URLs. A page that returns 204 has no content to index, so never use it for URLs you want in search results.

Check it with Sitewell

Find out which of your URLs return 204

Paste a list of URLs and Sitewell checks the status code of every one at once — free and without signup.

Related codes

Related guides