Source: https://usedataowl.com/docs/api/website/errors
Markdown source: https://usedataowl.com/docs/api/website/errors.md
Description: JavaScript errors grouped by message, most frequent first, with counts, affected visitors, pages, browsers and the latest stack. Covers the website's latest 100 errors.

# List errors

`GET https://usedataowl.com/api/v1/errors`

Permission: `analytics:read`. MCP tool: `datasense_errors_list`.

## Request

| Parameter | In | Type | Required | Description |
| --- | --- | --- | --- | --- |
| `websiteId` | query | string | With an account token | The website to query. Required with an account token or OAuth connection that can reach several websites; omit with a ds_sk_ website key. |
| `kind` | query | string | No | Only this kind of error. One of `error`, `unhandledrejection`, `resource`, `console.error`. |
| `limit` | query | integer | No | How many rows to return, up to 50. Default `15`. 1 to 50. |

```sh
curl "https://usedataowl.com/api/v1/errors" \
  -H "Authorization: Bearer ds_sk_xxx"
```

With an account token, add `websiteId`:

```sh
curl "https://usedataowl.com/api/v1/errors?websiteId=YOUR_SITE_ID" \
  -H "Authorization: Bearer ds_at_xxx"
```

## Response

```json
{
  "status": "success",
  "data": { … }
}
```

Errors use the [standard error format](/docs/api#errors).
