---
url: >-
  https://adk.nht.io/api/@nhtio/adk/exceptions/variables/E_INVALID_INITIAL_MEMORY_VALUE.md
description: >-
  Thrown when a {@link @nhtio/adk!Memory} is initialised with a value that fails
  schema validation.
---

# Variable: E\_INVALID\_INITIAL\_MEMORY\_VALUE

```ts
const E_INVALID_INITIAL_MEMORY_VALUE: CreatedException<[]>;
```

Defined in: [lib/exceptions/runtime.ts:144](https://github.com/NHTIO/ADK/blob/v1.20260605.0/src/lib/exceptions/runtime.ts#L144)

Thrown when a [@nhtio/adk!Memory](../../common/classes/Memory.md) is initialised with a value that fails schema validation.

## Remarks

`Memory` requires all fields — `id`, `content`, `confidence`, `importance`, `createdAt`,
`updatedAt` — to be present and of the correct type. Passing an incomplete or incorrectly
typed object signals a programming error in the caller, not a recoverable runtime condition.
