# Errors

Use the HTTP status and coded body to decide what to show or retry.

## Route errors

Each endpoint lists the statuses in its OpenAPI contract. Booking availability or price changes can produce a structured 409 response.

[Read the guide](/docs/booking-api/overview)

## API key errors · Preview

Key refusals use application/problem+json with a machine readable code. The guide lists the planned codes.

[Read the guide](/docs/api-keys/errors)

## HTTP status codes

- 404: A published page, resource, or guest booking was not found or is unavailable.
- 409: Availability, price, payment choice, or booking state conflicts with the request.
- 422: The request failed field or parameter validation.
- 429: Too many requests or promo code attempts. Back off before retrying.
- 501: This booking shape is not available yet.
- 503: Public booking login is not configured.

```http
HTTP/1.1 409 Conflict
Content-Type: application/json
```

```json
{
  "error": "quote_refused",
  "ok": false,
  "refusals": [
    {
      "line": 1,
      "code": "no_price"
    }
  ]
}
```