# AssertionError: Query parameter 'page' is required

- **ID:** `python/starlette-missing-query-param`
- **Domain:** python
- **Category:** type_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The route handler expects a query parameter that is not present in the request.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   Use Query parameter with default: page: int = Query(1, ge=1)
   ```
2. **** (90% success)
   ```
   Check for existence and provide a fallback: page = request.query_params.get('page', 1)
   ```

## Dead Ends

- **** — This raises a TypeError when page is None. (80% fail)
- **** — Empty string may still be invalid. (50% fail)
