# detection_service_unavailable

> The detection service could not be reached or failed.

HTTP status: 502, 503

## What to do

Try again shortly. For a failed text job, submit the text again.

## Example

```json
{
  "error": "detection_service_unavailable",
  "request_id": "0f8e2c4a-6b1d-4e3f-9a7c-5d2b8e1f4a60",
  "doc_url": "https://developers.komplai.dk/errors/detection_service_unavailable"
}
```

## Operations that can return it

- POST /v1/redact (https://developers.komplai.dk/reference/redact.md)
- POST /v1/redact/detect (https://developers.komplai.dk/reference/redact.md)
- POST /v1/redact/file (https://developers.komplai.dk/reference/redact.md)

A text job can also end with this code: its status carries it in the field error.

---

https://developers.komplai.dk/errors/detection_service_unavailable
