Skip to content
Latchkey

What Is HTTP 422 Unprocessable Entity?

HTTP 422 Unprocessable Entity explained, and what it means when you see it in CI/CD and deployments.

HTTP 422 means the syntax is valid but the content failed semantic validation.

What it means

A 422 differs from 400: the JSON parses fine, but a field violates a rule (missing required value, out of range, wrong format). APIs return validation details in the body.

When you see it in CI/CD

In CI, a 422 from an API test means the payload is structurally valid but semantically wrong. Read the error body to see which field failed.

Key takeaways

  • 422 means validation failed.
  • Syntax is fine; a value is invalid.
  • Read the body for field-level errors.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →