# django.db.utils.IntegrityError: UNIQUE constraint failed: auth_user.email

- **ID:** `python/django-auth-user-email-unique`
- **Domain:** python
- **Category:** data_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

Attempting to create a user with an email that already exists.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   Check email existence before creation: if User.objects.filter(email=email).exists(): return error
   ```

## Dead Ends

- **** — User is not created, no feedback to user. (60% fail)
- **** — Allows duplicate emails, breaking user identification. (70% fail)
