# GET /v2/crawl/{job_id}/errors

> List the pages of a crawl that failed or were skipped.

GET `/v2/crawl/{job_id}/errors`

**Authentication:** your key as a [bearer token](https://darkcrawl.dev/docs/api-reference/authentication/).

## Path parameters

| Field    | Type     | Required | Default |
| -------- | -------- | -------- | ------- |
| `job_id` | `string` | Required |         |

## Request

**curl**

```bash
curl https://api.darkcrawl.dev/v2/crawl/JOB_ID/errors \
  -H "Authorization: Bearer $DARKCRAWL_API_KEY"
```

**Python**

```python
import os
import requests

resp = requests.get(
    "https://api.darkcrawl.dev/v2/crawl/JOB_ID/errors",
    headers={"Authorization": "Bearer " + os.environ["DARKCRAWL_API_KEY"]},
    timeout=330,
)
print(resp.json())
```

**Node**

```javascript
const resp = await fetch("https://api.darkcrawl.dev/v2/crawl/JOB_ID/errors", {
  headers: {
    Authorization: "Bearer " + process.env.DARKCRAWL_API_KEY,
  },
  signal: AbortSignal.timeout(330000),
});
console.log(await resp.json());
```

## Response

Status `200`.

```json
{
  "success": true,
  "errors": [
    {
      "id": "e1c4f2a9b0d34e5f8a6b7c8d9e0f1a2b",
      "timestamp": "2026-11-26T10:00:00+00:00",
      "url": "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/members",
      "code": "ONION_UNREACHABLE",
      "error": "the onion service could not be reached"
    }
  ],
  "robotsBlocked": [
    "http://exampleonionq7x2mfk4lzr5w3ty6hbnc2jdu7avs4ekp5gw3xmlq2zr.onion/admin"
  ]
}
```

## Errors

| Code                    | Status |
| ----------------------- | ------ |
| `BLOCKLIST_UNAVAILABLE` | 503    |

What each code means, and what to do about it: [Errors](https://darkcrawl.dev/docs/api-reference/errors/).

## Notes

- The job's failed and skipped pages. A page skipped because of `robots.txt` is in `robotsBlocked`, as an address; the others are in `errors`.
- `id` stays the same between reads. `code` is the reason stored for the page, and `error` is a short text for it. `timestamp` is `null` for a page recorded before DarkCrawl kept it.
- An unknown id, an expired job and another company's job all answer `404` with `{"success": false, "error": "Job not found"}`. That body has no `code`.
