4xx Client Error
Your request looks right, but the data doesn't make sense according to our business rules. Fix the data and try again.
Use 422 when the request is well-formed and understood, but its instructions or values are semantically invalid.
POST https://api.example.test/api/users
# Body
{
"age": -5
}422 Unprocessable Content
# Headers
Content-Type: application/json
# Body
{
"error": "unprocessable_content"
}Age cannot be negative, violates business rules