---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/embeddings/ollama/exceptions/variables/E_INVALID_OLLAMA_EMBEDDINGS_OPTIONS.md
description: >-
  Thrown when the resolved adapter options fail validation against
  `ollamaEmbeddingsOptionsSchema` — e.g. a missing/empty `model`, or an unknown
  option key. Fatal: config bugs fail loud at construction time, not at embed
  time.
---

# Variable: E\_INVALID\_OLLAMA\_EMBEDDINGS\_OPTIONS

```ts
const E_INVALID_OLLAMA_EMBEDDINGS_OPTIONS: CreatedException<[string]>;
```

Defined in: [src/batteries/embeddings/ollama/exceptions.ts:22](https://github.com/NHTIO/ADK/blob/v1.20260718.0/src/src/batteries/embeddings/ollama/exceptions.ts#L22)

Thrown when the resolved adapter options fail validation against
`ollamaEmbeddingsOptionsSchema` — e.g. a missing/empty `model`, or an unknown option key.
Fatal: config bugs fail loud at construction time, not at embed time.
