What is HTTP 422 Unprocessable Content?
The 422 Unprocessable Content response occurs when the request format is valid but the data fails validation.
Common Causes
- Invalid form data
- Failed API validation
- Missing required fields
Example
{
"name": ""
}
DevOps Considerations
422 errors are very common when debugging REST APIs and application validation.
Summary
422 Unprocessable Content means the server understands the request but cannot process the supplied data.