# werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'user_detail' with values ['id']. Did you mean 'user_detial' instead?

- **ID:** `python/werkzeug-build-error-endpoint`
- **Domain:** python
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

url_for() references an endpoint name that is not registered, or required URL parameters are missing/misnamed.

## Version Compatibility

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

## Workarounds

1. **** (95% success)
   ```
   Verify endpoint name: `print(app.url_map)` and use the exact function name or `blueprint.function_name`.
   ```
2. **** (90% success)
   ```
   Pass all required params: `url_for('user_detail', user_id=user.id)` matching the route `<int:user_id>`.
   ```

## Dead Ends

- **** — Breaks when routes change; loses blueprint prefixes and URL-encoding. (80% fail)
- **** — Does not fix unknown endpoint; still raises BuildError. (90% fail)
