# AUR0165

## Error Message

`AUR0165: Expression error: unterminated quote in string literal: "{{expression}}"`

## Description

This error occurs when a string literal in a binding expression is missing its closing quote. This is a common syntax error when writing template expressions.

## Common Scenarios

```html
<!-- ❌ Wrong: Missing closing quotes -->
<div textcontent.bind="'Hello world"></div>
<div textcontent.bind='"Missing quote'></div>
<div class.bind="isActive ? 'active : 'inactive'"></div>
```

## Solution

```html
<!-- ✅ Correct: Properly closed quotes -->
<div textcontent.bind="'Hello world'"></div>
<div textcontent.bind='"Complete quote"'></div>
<div class.bind="isActive ? 'active' : 'inactive'"></div>
```

## Debugging Tips

1. **Count Quotes**: Ensure every opening quote has a matching closing quote
2. **Watch Escaping**: Use proper escaping for quotes within strings
3. **Use Different Quote Types**: Mix single and double quotes to avoid conflicts


---

# 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/0151-to-0179/aur0165.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.
