HTTP Status: 422 Unprocessable Entity
RFC Reference: RFC 9110 Section 15.5.21
The request was well-formed but contains semantic errors.
{
"type": "https://docs.apiera.io/problems/unprocessable-entity",
"title": "Unprocessable Entity",
"status": 422,
"detail": "The request was well-formed but contains semantic errors.",
"instance": "/v1/products",
"correlationId": "550e8400-e29b-41d4-a716-446655440000",
"errors": [
{
"code": "INVALID_SKU",
"message": "SKU must be unique within the product family"
},
{
"code": "REQUIRED_FIELD",
"message": "Field 'name' is required"
}
]
}The errors array contains specific validation failures:
| Field | Description |
|---|---|
code | Machine-readable error code |
message | Human-readable error description |
Review each error in the errors array and correct the invalid values before retrying.