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

# MissingApiKeyError

> Error class thrown by the HoneyHive TypeScript SDK

Thrown at construction when no control plane API key is configured and no
middleware is supplied to authenticate instead. Every control plane
operation takes that one key, so a client without it could send nothing.

## Extends

* [`HoneyHiveError`](/v2/control-plane-sdk-reference/typescript/ref/classes/HoneyHiveError)

## Constructors

### Constructor

> **new MissingApiKeyError**(): `MissingApiKeyError`

#### Returns

`MissingApiKeyError`

#### Overrides

[`HoneyHiveError`](/v2/control-plane-sdk-reference/typescript/ref/classes/HoneyHiveError).[`constructor`](/v2/control-plane-sdk-reference/typescript/ref/classes/HoneyHiveError#constructor)


## Related topics

- [MissingApiKeyError](/v2/sdk-reference/typescript/ref/classes/MissingApiKeyError.md)
- [HoneyHiveError](/v2/sdk-reference/typescript/ref/classes/HoneyHiveError.md)
- [Clients](/v2/changelog/clients.md)


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