# HAMUR_E1011: A catch-all or optional param is not the last segment

A catch-all or optional param is not the last segment. Error `HAMUR_E1011` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_E1011 <closed> param must be the last segment of the path: <file>
```

## Cause

A catch-all or optional param is not in the last segment of the path.

## Fix

Move it to the last segment.
