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

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

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

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

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

## Remarks

`Identity` requires both `identifier` (string or number) and `representation` (string or
[@nhtio/adk!Tokenizable](../../common/classes/Tokenizable.md)) to be present and of the correct type. Passing an incomplete or
incorrectly typed object signals a programming error in the caller.
