---
title: RELKIT_DUPLICATE_ID
description: "ID is used twice."
pagination: false
search:
  keywords: [RELKIT_DUPLICATE_ID]
sidebar:
  icon: triangle-alert
---

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

**ID is used twice.**

## What happened

Two definitions in the app have the same ID, so RelKit cannot tell them apart.

## What to do

Rename one of them, or give it an explicit `id` if the ID was taken from the file or export name.

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

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