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

# InvalidAPIKeyFormatError

Defined in: [errors.ts:26](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/errors.ts#L26)

An error for invalid API key format.

## Extends

* `BaseError`

## Constructors

### Constructor

```ts theme={null}
new InvalidAPIKeyFormatError(message: string): InvalidAPIKeyFormatError;
```

Defined in: [errors.ts:32](https://github.com/coinbase/cdp-sdk/blob/a1195adcfa5a93627bd3cb79831b188cc13073a1/typescript/packages/cdp-sdk/src/auth/errors.ts#L32)

Invalid API key format error constructor.

#### Parameters

##### message

`string`

The message to display.

#### Returns

`InvalidAPIKeyFormatError`

#### Overrides

```ts theme={null}
BaseError.constructor
```
