# starlette.routing.NoMatchFound: No route matches for path "/items/"

- **ID:** `python/starlette-routing-path-param-missing`
- **Domain:** python
- **Category:** runtime_error
- **Verification:** ai_generated
- **Fix Rate:** 80%

## Root Cause

The requested URL path doesn't match any defined route, possibly due to trailing slash mismatch.

## Version Compatibility

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

## Workarounds

1. **** (90% success)
   ```
   Define the route with optional trailing slash: @app.route('/items/{path:path}') or use redirect_slashes=True
   ```
2. **** (80% success)
   ```
   Ensure the client sends the correct path: /items (without trailing slash) if your route is '/items'
   ```

## Dead Ends

- **** — If the client doesn't send the slash, it still won't match; you need redirect_slashes=True (default). (50% fail)
- **** — May hide actual errors; better to define specific routes. (40% fail)
