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

# Troubleshooting

> Common Models and authentication failures

Use this page when **`https://models.ageneral.ai`** or **`https://ageneral.ai`** returns unexpected HTTP statuses.

## 401 Unauthorized

1. Confirm the request includes **`Authorization: Bearer <token>`**.
2. For **Models**, use an Ageneral **virtual key** **`sk-bf-…`** unless your integration documents a different bearer type.

## 402 Payment required

Add credits to the **project owner** wallet tied to the **virtual key** or workload.

## 503 Service unavailable

Retry later. If the condition persists, contact **Support** with a request identifier or timestamp.

## Model or provider errors

Use the **`model`** string exactly as **`GET /v1/models`** returns for your credential. Typos and retired names fail at the **provider**.

## Next steps

* [Usage and billing](/guides/models/usage-and-billing)
* [Authentication](/authentication)
* **API reference** → **Models**
