← All status codes

422

Unprocessable Entity

The request was well-formed but semantically wrong.

When to actually use it

Valid JSON, but the fields fail business validation — bad email, missing required field.

Where people mess up

Using 400 for semantic validation when 422 spells it out. 400 is 'I couldn't parse you'; 422 is 'I understood every word, and it's still wrong.'

The joke

The server understood every word — and it’s still a “no,” because what you said doesn’t add up. The “technically correct, still rejected” code.