← All Status Codes
422
Unprocessable Entity
⚠️ Client Error
Low Risk
📖 What Is HTTP 422?
The server understands the content type and syntax of the request but cannot process the contained instructions. Common in API validation errors.
🛡️ Security Implications
Validation error responses should not reveal internal field names or database schema. Return generic validation messages.
🔍 Common Causes
Invalid field values, missing required fields in a valid JSON structure, business logic validation failure.
🔧 How to Fix
Check the response body for specific validation errors. Fix the invalid fields and retry the request.
🖥️ How to Check
curl -I -o /dev/null -w "%{http_code}" https://example.com