# Report a data issue

URL: https://docs.healthcare.dev/reference/datasets/report-a-data-issue

```http
POST https://api.healthcare.dev/v1/issues
```

Tell us a record looks wrong: the dataset, the record id, optionally the field, the value you expected and a primary-source URL. Free on every plan; reviewed by a person, with a fix-time target (see `target_fix_by`). Never include patient information.

Requires an API key: `Authorization: Bearer hdev_live_...`. See [Authentication](/authentication).

## Request body

```json
{
  "dataset": "string",
  "record_id": "string",
  "field": "string",
  "expected": "string",
  "evidence_url": "string",
  "note": "string"
}
```

## Examples

**curl**

```sh
curl -X POST "https://api.healthcare.dev/v1/issues" \
  -H "Authorization: Bearer $HDEV_API_KEY"
```

**TypeScript**

```ts
const res = await fetch("https://api.healthcare.dev/v1/issues", {
  method: "POST",
  headers: { Authorization: `Bearer ${process.env.HDEV_API_KEY}` },
});
const { data, meta } = await res.json();
```

**Python**

```python
import os
import requests

res = requests.post("https://api.healthcare.dev/v1/issues", headers={"Authorization": f"Bearer {os.environ['HDEV_API_KEY']}"})
body = res.json()
```

## Response

Report filed

```json
{
  "data": {
    "id": "string",
    "dataset": "string",
    "record_id": "string",
    "status": "open",
    "created_at": "string",
    "target_fix_by": "string"
  },
  "meta": {
    "source": "cms-icd10",
    "data_version": "2026.1",
    "retrieved_at": "2026-10-24T12:00:00Z",
    "license": "Public domain (CMS). Reference data, not medical advice."
  },
  "links": {
    "self": "/v1/issues",
    "next": null
  }
}
```

## Errors

Errors are `application/problem+json` ([RFC 9457](https://www.rfc-editor.org/rfc/rfc9457)). Branch on `type`, not on `title`. See [Errors](/errors).

| Status | `type` | When |
| --- | --- | --- |
| 400 | `invalid-request` | A parameter or the body failed validation; `errors` lists each field. |
| 401 | `unauthorized` | Missing, malformed or revoked API key. |
| 404 | `not-found` | No record with that id (retired records are still returned). |
| 429 | `rate-limited / quota-exceeded` | Too many requests per second (retry after `Retry-After`), or the monthly quota is used up. |
