---
title: RELKIT_PATH_INVALID
description: "Route or middleware path is invalid."
pagination: false
search:
  keywords: [RELKIT_PATH_INVALID]
sidebar:
  icon: triangle-alert
---

{/* Generated by apps/docs/scripts/generate.ts. Do not edit. */}

**Route or middleware path is invalid.**

## What happened

A route or middleware has a path RelKit cannot use.

## What to do

Start the path with `/` and use only valid path segments and parameters.

Reported by `@relkit/cli`, `relkit/diagnostics`.

See [all error codes](/docs/errors).
