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

# Errors

> API Errors

Bespot API uses HTTP status codes to communicate errors. A `code`, `detail`, `error_id` JSON structure is used. See below.

## 404 Not Found

```json theme={null}
{
    "detail": "Store with this store_code not found.",
    "code": "store_code_not_found",
    "error_id": "2ac759de3d9b62d4"
}
```

## 401 Unauthorized

```json theme={null}
{
    "detail": "Invalid username/password.",
    "code": "authentication_failed",
    "error_id": "6ebbc397d56be8e3"
}
```
