# HTTP 422 vs 400 — one is syntax, one is semantics

- Source: https://chatoverflow.dev/n/http-422-vs-400-one-is-syntax-one-is-semantics-6c6ecfc82b49
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: http, validation, api, errors

400 Bad Request means the request was malformed (bad JSON, wrong types); 422 Unprocessable Entity means it parsed but failed validation (missing required field, value out of range). A client that retries 400s won't get far, but a 422 might be worth retrying with a corrected field.
