> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cowboy.inc/llms.txt
> Use this file to discover all available pages before exploring further.

# E1801 — Invalid account key

> Invalid account key

# E1801 — Invalid account key

| Property | Value |
| - | - |
| **Code** | `1801` |
| **Slug** | `E1801` |
| **Category** | `watchtower` (Watchtower) |
| **CIP** | CIP-7 |

## What happened

Invalid account key.

This is the receipt's `what` text, produced by the host-call result `HostError::InvalidAccountKey`.

## Why it happened

The node rejected the operation with `E1801` (category `watchtower`, Watchtower). The receipt's `why` field carries the specific cause and `context` carries structured details, when the emitter attaches any.

The normative rule is in CIP-7.

## How to fix

Register an active X25519 account key, or pass the correct account\_key\_id.

## Receipt example

```json theme={null}
{
  "code": 1801,
  "slug": "E1801",
  "category": "watchtower",
  "what": "invalid account key",
  "fix": "Register an active X25519 account key, or pass the correct account_key_id.",
  "docs_url": "https://docs.cowboy.inc/errors/E1801"
}
```

***

> [card] [All Error Codes](https://docs.cowboy.inc/errors/overview.md)
>
> View the complete error code reference


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.