# AUR3551

## Error Message

`AUR3551: When retrieving the RouteConfig for a component name, a RouteContext (that can resolve it) must be provided`

## Description

This error occurs when the router is asked to resolve route configuration from a component name string but no `RouteContext` is available to resolve that name.

## Solutions

* Provide a `RouteContext` when resolving route configuration by string name.
* Prefer passing component types/definitions instead of string names where possible.


---

# 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/router/aur3551.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.
