# werkzeug.routing.exceptions.BuildError: Could not build url for endpoint 'index' with values ['page']. Did you mean 'static' instead?

- **ID:** `python/flask-url-for-external`
- **Domain:** python
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

在 url_for 中传递了不存在的参数或端点名称错误。

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   url_for('index', page=1) 确保 index 函数已定义且接受 page 参数
   ```
2. **** (85% success)
   ```
   print(app.url_map) 然后调整
   ```

## Dead Ends

- **** — 端点名称必须与视图函数名称匹配。 (70% fail)
- **** — 会导致维护困难。 (60% fail)
