---
title: "List recent scaling errors of a rig"
method: GET
path: "/clusters/{clusterID}/rigs/{rigID}/errors"
tags: ["admin"]
---

# List recent scaling errors of a rig

`GET /clusters/{clusterID}/rigs/{rigID}/errors`

## Request

- Base URL: `https://api.e2b.app`
- URL: `https://api.e2b.app/clusters/{clusterID}/rigs/{rigID}/errors`
- Auth: one of:
  - API key in header `X-Admin-Token`
  - HTTP bearer

List recent scaling errors on the rig's scaling group (e.g. failed instance creations due to resource exhaustion), newest first.

## Path parameters

- `clusterID` string, uuid, required
- `rigID` string, required

## Query parameters

- `limit` integer

## Response `200`

Successfully returned the scaling errors of the rig

- RigError[]
  - `timestamp` string, date-time, required: When the error occurred
  - `code` string, required: Provider-specific error code (e.g. ZONE_RESOURCE_POOL_EXHAUSTED, Failed)
  - `message` string, required: Human-readable error message
  - `instance` string: Instance the error relates to, if any
  - `action` string: Action being performed when the error occurred (e.g. CREATING)

## Other responses

- `400`: Bad request
- `401`: Authentication error
- `404`: Not found
- `429`: Too many requests
- `500`: Server error
- `501`: Not implemented by this deployment

## Changes

- **2026-09-14** `a37f50c70019`: 1 info
  - added the non-success response with the status `429`
- **2026-09-07** `fc7dc26a953d`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/e2b-dev/apis/e2b-api/changes/clusters/:clusterID/rigs/:rigID/errors/get.md)

---

[API](https://skmtc.dev/e2b-dev/apis/e2b-api.md) - [All operations](https://skmtc.dev/e2b-dev/apis/e2b-api/llms.txt) - [OpenAPI document](https://skmtc.dev/e2b-dev/apis/e2b-api/revisions/99fccbc60e6d?raw)
