Independent technical referenceOfficial site
  • Software and systems
  • HTTP service

204

HTTP 204 No Content: the request succeeded with no response content

Verified with sources2 sourcesReviewed Aug 22, 2026
Technician coming? See what they must show you

Risk level

Low

Usually safe to check without specialist tools.

Urgency

Medium

Quick answer

HTTP 204 means the server successfully fulfilled the request and intentionally has no additional response content to send.

Safety first

Stop and check this first

  • Do not invent an empty JSON object as a universal fix. The correct behavior is defined by the endpoint contract and its status semantics.

Safe checks you can perform

  • Confirm the status before parsing the body
  • Inspect response metadata
  • Verify the requested effect separately

Leave these tasks to a qualified professional

  • Do not attempt this professional task: Align the client contract with empty success responses

What a technician must be able to justify

A technician is coming

These are the steps they must carry out and show you. Tick them as they work: if steps are skipped, do not accept a part swap.

These are not instructions for opening or handling the equipment yourself. They are the checks that should support a technical conclusion.

  1. Align the client contract with empty success responses

    What they doUpdate response handling so 204 completes the operation without forcing a content decoder.

Before accepting a part or repair

Nothing has been shown yet. Do not accept a part swap based on the code alone.

Checks and evidence, step by step

Follow the documented order. An error code identifies the affected system, but it does not prove by itself which part has failed.

  1. 1

    Confirm the status before parsing the body

    Tools required

    Procedure

    Verify that the received status is 204 and skip body decoding when the API contract defines an empty success response.

    Do not invent an empty JSON object as a universal fix. The correct behavior is defined by the endpoint contract and its status semantics.

    Evidence: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registry

  2. 2

    Inspect response metadata

    Tools required

    Procedure

    Check ETag and other documented response fields that may describe the resource state after the action.

    Do not invent an empty JSON object as a universal fix. The correct behavior is defined by the endpoint contract and its status semantics.

    Evidence: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registry

  3. 3

    Verify the requested effect separately

    No special tools

    Procedure

    Use a safe read operation or the service's status view to confirm that the update or deletion took effect.

    Do not invent an empty JSON object as a universal fix. The correct behavior is defined by the endpoint contract and its status semantics.

    Evidence: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registry

Where this code applies

A code is meaningful only inside the right product and version context.

Primary scope

System
Software and systems
Brand
HTTP
Product type
HTTP service

Known code variants

  • 204 Aucun contenu
  • 204 Kein Inhalt
  • 204 Nessun contenuto
  • 204 No Content
  • 204 Sin contenido
  • código HTTP 204
  • error HTTP 204
  • HTTP 204
  • HTTP error 204
  • HTTP status 204
  • status code 204

What it means

A 204 response is a successful result, not an empty-error response. Its header metadata describes the target resource after the requested action.

Warnings and stop conditions

  • Higheditorial warning

    Do not invent an empty JSON object as a universal fix. The correct behavior is defined by the endpoint contract and its status semantics.

    Evidence: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registry

Symptoms and causes

Probable causes · in order

  • The endpoint intentionally returns no representationConfirmed

    Update, delete or acknowledgement endpoints commonly need to confirm success without transferring a response body.

    Evidence: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registry

  • The client expected JSON from every successful requestPossible

    A parser can report an error when application code tries to decode an intentionally empty 204 response as JSON.

    Evidence: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registry

Virtual technician

Does 204 still appear after these checks?

Answer a few questions to narrow down the likely cause and the safest next action. Guidance only - it never replaces a professional.

Sources and technical references

  1. 1

    RFC 9110 section 15.3.5 - 204 No Content

    Internet Engineering Task Force · 2022 · official_doc

  2. 2

    IANA Hypertext Transfer Protocol Status Code Registry

    Internet Assigned Numbers Authority · 2025 · official_doc

Sources: RFC 9110 section 15.3.5 - 204 No Content · IANA Hypertext Transfer Protocol Status Code Registryreviewed 2026-08-22 · verified

Was this entry useful?