# GET /errors

> Every 4xx is RFC 9457 problem+json with an extra fix field containing a corrected, copy-pasteable call. An agent that gets something wrong can recover in one step without reading any documentation, which is the whole design goal of this API.

Source: https://useqr.app/docs/api/errors · No API key required · UseQR is free forever, MIT licensed.

---

## Parameters

| Name | Type | Required | Detail |
| --- | --- | --- | --- |
| `type` | string | no | A URL identifying the problem class. |
| `title` | string | no | A short, human-readable summary. |
| `status` | integer | no | The HTTP status code, repeated in the body. |
| `detail` | string | no | What went wrong with this specific request. |
| `field` | string | no | The parameter at fault, when there is one. |
| `fix` | string | no | A corrected call you can run as-is. This is the field that matters. |

## Errors

Every 4xx is RFC 9457 problem+json with an extra `fix` field containing a corrected call.

```json
{
  "type": "https://useqr.app/errors",
  "title": "Missing data",
  "status": 400,
  "detail": "Tell us what to encode — we accept data=, text=, content=, or url=.",
  "fix": "/api/v1/qr?data=hello%20world&size=512"
}
```
