---
title: LiumInsufficientBalanceError
sidebar_label: LiumInsufficientBalanceError
sidebar_position: 9
---

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

<!-- Generated by scripts/generate_sdk_reference.py. Do not edit directly. -->

# LiumInsufficientBalanceError

```python
from lium.sdk import LiumInsufficientBalanceError
```

Defined in `lium.sdk.exceptions`.

The account cannot pay for this (403 with a balance reason).

``required`` and ``available`` are USD amounts when the server said what
they are, else ``None``. Callers that catch [`LiumPermissionError`](/developers/sdk/reference/exceptions/lium-permission-error)
keep working; ones that want the numbers catch this class.

```python
LiumInsufficientBalanceError(
    message: str,
    *,
    required: float | None = None,
    available: float | None = None
)
```

## Attributes

| Name | Type | Description |
| --- | --- | --- |
| `required` |  |  |
| `available` |  |  |
