# AUR3403

## Error Message

`AUR3403: Invalid instruction type %s for "toUrlComponent" operation. If you are seeing this error, then it is probably because of an internal bug. Please report it.`

## Description

This error occurs when `toUrlComponent` is called with an instruction type that it does not support.

## Troubleshooting

* If you call `toUrlComponent` directly, ensure you pass a supported instruction type.
* If you do not call it directly, this likely indicates a router bug; please report it with a reproduction.


---

# 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/aur3403.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.
