# AUR4206

## Error Message

`AUR4206: Unable to parse binding expression: {{expression}}`

## Description

This error occurs when the validation controller cannot parse the binding expression used with validation. This typically happens with complex or malformed binding expressions.

## Common Scenarios

```html
<!-- ❌ Problem: Complex expressions that can't be parsed -->
<input value.bind="user[getField()] & validate">
<input value.bind="(complex ? expression : here) & validate">
```

## Solution

```html
<!-- ✅ Correct: Simple, parseable expressions -->
<input value.bind="user.name & validate">
<input value.bind="formData.email & validate">
```

```typescript
// ✅ Correct: Move complex logic to component
export class MyComponent {
  get currentField() {
    return this.user[this.getField()];
  }
  
  set currentField(value) {
    this.user[this.getField()] = value;
  }
}
```

```html
<!-- ✅ Correct: Use computed property -->
<input value.bind="currentField & validate">
```


---

# 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/4200-to-4206/aur4206.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.
