# List why a source's pages weren't read (https://notert.io/docs/api/reference/list-why-a-source-s-pages-weren-t-read)

`GET /api/v1/knowledge-sources/{id}/problems`

Why a knowledge source's pages weren't read, most often first, with how many pages each kept out, whatever the list is filtered to.

Access: A token with knowledge:read.

## Path parameters

| Field | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | string | Yes | The source's id. At most 64 characters. |

## Response 200

| Field | Type | Description |
| --- | --- | --- |
| `items` | object[] | The pages, or the reasons pages weren't read. |
| `items.problem` | string | Why the page wasn't read, such as not found or robots. Null once it was. One of: `unreachable`, `blocked`, `not found`, `no access`, `refused`, `server error`, `rate limited`, `not a page`, `too large`, `robots`, `empty`, `elsewhere`, `not a product site`. |
| `items.pageCount` | integer | How many of the source's pages it kept from being read. |

## Errors

| Status | Code | Message |
| --- | --- | --- |
| 400 | `BAD_REQUEST` | Input validation failed. |
| 401 | `UNAUTHORIZED` | Send a valid API token as a Bearer token. |
| 403 | `HOLDER_NOT_ALLOWED` | The teammate who holds this API token's secret can't do this in the workspace now. A teammate who can should roll it in the workspace's settings. |
| 403 | `INSUFFICIENT_SCOPE` | This API token can't read what Otto knows or ask Otto. Create one that may in the workspace's settings. |
| 403 | `NETWORK_NOT_ALLOWED` | This API token works only from the networks it was made for. Call from one of them, or create a token for this one in the workspace's settings. |
| 404 | `NOT_FOUND` | Not Found. |
| 429 | `TOO_MANY_REQUESTS` | Too Many Requests. Its data holds `retryAfter`. |

## Example request

```sh
curl https://app.notert.io/api/v1/knowledge-sources/3c5e7a9b-1d2f-4a6b-8c0e-2f4a6c8e0b17/problems \
  -H "Authorization: Bearer $NOTERT_API_TOKEN"
```

## Example response 200

```json
{
  "items": [
    {
      "problem": null,
      "pageCount": 2
    }
  ]
}
```
