422
HTTP 422 Unprocessable Content
4xx Client Error
- Home
- > HTTP Status Codes >
- > 4xx >
- 422
Blog
Encoder & Decoder
Utility
General
- SMS Counter
- Check String Length
- Password Generator
- CHMOD Calculator
- Cron Job Command Generator
- Shortened URL Checker
- RGB to HEX Converter
- Epoch Unix Timestamp Converter
- UUID & ULID Generator
- Timezone Converter
Image Tools
PDF Tools
Minifier
Web Dev
- QR Code Generator
- Barcode Generator
- Lorem Ipsum Generator
- HTML Entities
- MIME Types Table Reference
- HTTP Status Codes
- What Is My IP Address
- JSON Formatter & Validator
- SQL Formatter & Beautifier
- XML Formatter & Beautifier
- YAML Formatter & Beautifier
- Text Case Converter
- JSON to CSV Converter
- Clipboard Workspace
- JSON Validator & Repair
- JSON Schema Validator
Laravel
- All Laravel Tools
- Collection Playground
- Eloquent Relationship Generator
- Validation Rule Generator
- Migration Generator
- Scheduler Generator
- Middleware Pipeline Visualizer
- Eloquent Query Builder Generator
- Laravel Artisan Cheat Sheet
Tailwind
4xx Client Error
RFC 9110, Section 15.5.21
What is HTTP 422 Unprocessable Content?
The 422 (Unprocessable Content) status code indicates that the server understands the content type and syntax of the request body but was unable to process the contained instructions. In REST APIs, this is commonly used for validation errors — the request format is correct but the data is invalid.
Common Use Cases
- Form validation errors in API
- Missing required fields in request body
- Invalid data format or constraints violation