# HAMUR_W2081: A route rule cannot be written to staticwebapp.config.json

A route rule cannot be written to staticwebapp.config.json. Warning `HAMUR_W2081` belongs to `hamur`, server (2001 – 2999).

## Cause

`staticwebapp.config.json` cannot express a wildcard in the middle of a route, a constraint, an optional segment or a redirect target with params, so the function applies that rule to the requests it answers.

## Fix

Change the rule.
