> 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/aur0008.md).

# AUR0008

Unable to resolve key: yyyy

### **Error message**

Unable to resolve key: `yyyy`

### **Parameters**

key (string)

### Error explanation

This error occurs when the DI container is unable to resolve the specified key using any of its registered strategies. This typically means that the key was never registered, was registered incorrectly, or there is a typo or mismatch in the key being requested.

### Common causes

* The key was never registered with the container.
* There is a typo or mismatch in the key used for registration and resolution.
* The registration was accidentally removed or not included in the current container scope.
* A plugin or library expected to register the key did not do so.

### How to fix

* Ensure the key is registered with the container before attempting to resolve it.
* Double-check that the key used for registration matches the key used for resolution.
* If using plugins or libraries, ensure they are properly configured and registered.

### Debugging tips

* Check the stack trace to see where the resolution was attempted.
* Search your codebase for all registrations and resolutions of the 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/aur0008.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.
