---
url: >-
  https://adk.nht.io/api/@nhtio/adk/batteries/variables/E_INVALID_SEARXNG_CONFIG.md
description: 'Thrown when [`createSearxngSearchTool`](https://adk.nht.io/api/@nhtio/adk/batteries/tools/searxng/functions/createSearxngSearchTool) receives invalid configuration.'
---

# Variable: E\_INVALID\_SEARXNG\_CONFIG

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

Defined in: [batteries/tools/searxng/exceptions.ts:22](https://github.com/NHTIO/ADK/blob/v1.20260609.0/src/batteries/tools/searxng/exceptions.ts#L22)

Thrown when [createSearxngSearchTool](../tools/searxng/functions/createSearxngSearchTool.md) receives invalid configuration.

## Remarks

Fatal: config bugs (missing or unparseable `instanceUrl`) fail loud at factory-call time
rather than at the first search.
