# fastapi.exceptions.RequestValidationError: 1 validation error for ItemCreate
body -> name
  field required (type=value_error.missing)

- **ID:** `python/fastapi-422-field-required-body`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Client sent a JSON body missing a field that the Pydantic model declares as required (no default).

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 0.100+ | active | — | — |

## Workarounds

1. **** (92% success)
   ```
   from typing import Optional
class ItemCreate(BaseModel):
    name: Optional[str] = None
   ```
2. **** (95% success)
   ```
   requests.post(url, json={'name': 'x', 'price': 1.0})  # include all required fields
   ```

## Dead Ends

- **** — Response model affects serialization, not request validation. (95% fail)
- **** — Validation runs before your middleware can bypass it; also disables all validation. (80% fail)
