# HAMUR_W1215: A prerendered link names an id the target page lacks

A prerendered link names an id the target page lacks. Warning `HAMUR_W1215` belongs to `hamur`, scan, build and dev (1001 – 1999).

## Message

```text
HAMUR_W1215 <page> links to <target>#<id>, but <target> has no element with id "<id>"
```

## Cause

A prerendered link has a `#id` fragment, and the target page has no element with the id.

## Fix

Fix the id, or the link. Set `prerender.onMissingId` to change what happens.

````ts [errors/prerender.ts]
import { defineConfig } from "hamur"

export default defineConfig({
  framework: "react",
  prerender: { onUnseenRoutes: "ignore", onMissingId: "warn" },
})
````
