# AUR0008

### **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: Querying This Documentation

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

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

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

The question should be specific, self-contained, and written in natural language.
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.
