# pydantic.errors.EnumError: value is not a valid enumeration member

- **ID:** `python/pydantic-enum-value-invalid`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

A field typed as an Enum receives a value not defined in the enumeration.

## Version Compatibility

| Version | Status | Introduced | Deprecated |
|---------|--------|------------|------------|
| 2.x | active | — | — |

## Workarounds

1. **** (95% success)
   ```
   Use enum member: Color.RED
   ```
2. **** (90% success)
   ```
   Add custom validator to map strings to enum
   ```

## Dead Ends

- **** — Enum member type mismatch. (80% fail)
- **** — Pydantic expects the value, not name. (70% fail)
