# Unprocessable Entity

**HTTP Status:** 422 Unprocessable Entity
**RFC Reference:** [RFC 9110 Section 15.5.21](https://datatracker.ietf.org/doc/html/rfc9110#section-15.5.21)

The request was well-formed but contains semantic errors.

## Response


```json
{
  "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"
    }
  ]
}
```

## Validation Errors

The `errors` array contains specific validation failures:

| Field | Description |
|  --- | --- |
| `code` | Machine-readable error code |
| `message` | Human-readable error description |


## How to Fix

Review each error in the `errors` array and correct the invalid values before retrying.