# HL7_DELIVERY_FAILED

Canonical page: https://docs.ovok.com/errors/hl7-delivery-failed

**HTTP 502.** Problem type: [`https://docs.ovok.com/errors/hl7-delivery-failed`](https://docs.ovok.com/errors/hl7-delivery-failed).

## What this means [#what-this-means]

The connection's HL7 agent could not deliver a reading to the hospital system, most often because it cannot reach the receiver's MLLP address from inside the hospital network. You see this in the connection's delivery log, not in a user request.

## Troubleshooting [#troubleshooting]

1. Check the agent's own log on the hospital's host for the reason, such as a refused or timed-out connection.
2. Check that the connection's destination (`mllp://host:port`) is the receiver's current address, and that the receiver is listening.
3. Wait for the next attempt. Ovok retries the delivery for about 34 minutes, so a short outage recovers on its own.

## Retry safely [#retry-safely]

Retrying is safe. Every attempt sends the same message with the same control id (MSH-10), so the receiver can drop a repeat.

## If the problem persists [#if-the-problem-persists]

Share the HTTP status, problem `type`, request path, response timestamp and `traceId` with your administrator or support contact. Remove access tokens, provider secrets and patient data first. The [Error responses guide](/errors) explains the response fields, and the [machine-code registry](/errors/machine-codes) lists every endpoint-specific type.
