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

# insufficient_credits

> 402 · Not enough credits

> [!NOTE]
>
> HTTP status **402** · Retry: **No** · Failed requests never cost credits.

```json 402 response theme={null}
{
  "error": {
    "code": "insufficient_credits",
    "message": "Not enough credits.",
    "hint": "…",
    "docs": "https://docs.appgoat.ai/errors/insufficient_credits"
  }
}
```

## Why

The call costs more credits than you have left: your monthly plan credits and any credit packs are used up. Nothing was done and nothing was charged.

## Fix

Upgrade your plan in the dashboard under Settings > Billing, or, on Indie and Studio, buy a credit pack there (packs never expire). Plan credits also reset at the start of your next billing cycle.

## Still stuck?

Email [support@appgoat.ai](mailto:support@appgoat.ai) with the endpoint and the time of the request.


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