> For the complete documentation index, see [llms.txt](https://docs.aurelia.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.aurelia.io/developer-guides/error-messages/0001-to-0023/aur0023.md).

# AUR0023

Resource key '{{0}}' has already been registered.

### **Error message**

Resource key '{{0}}' has already been registered.

### **Parameters**

Resource key (string)

### Error explanation

This error occurs when you attempt to register a resource (such as a custom element, attribute, value converter, or binding behavior) with a key that has already been registered in the container. Resource keys must be unique within a container.

### Common causes

* Attempting to register the same resource more than once.
* Using the same name for multiple resources of the same type.
* A plugin or library is registering a resource with a name that conflicts with one in your application.

### How to fix

* Use unique names for your resources (elements, attributes, value converters, binding behaviors, etc.).
* Check for duplicate registrations in your code and in any plugins you are using.
* If a plugin is causing the conflict, consult its documentation or consider renaming your resource.

### Debugging tips

* Check the stack trace to see where the duplicate registration is occurring.
* Search your codebase for all registrations of the resource key in question.
* If using plugins, try disabling them one at a time to isolate the source.


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.aurelia.io/developer-guides/error-messages/0001-to-0023/aur0023.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
