Skip to content

Held for retry

Held for retry (the dead-letter queue) is where you find a queued delivery that could not be completed. There you read what was sent and why it failed, then retry it or discard it. Open Held for retry in the project menu; you need permission to edit the project.

What the page shows

Each entry shows the attempts it took, a link to the request it came from, when it failed, the reason, and the payload under Show payload. Retry sends it again and Discard deletes it. Retry all and Discard all act on every entry at once.

When a delivery is held rather than retried again, and what each failure reason means, is on What happens to a request after we accept it.

When your target stays unavailable

After repeated failures, EchoRelay pauses deliveries to that target and sends one request to check whether it has recovered. Your other targets keep receiving requests. Waiting for this check does not use up a delivery attempt.

Queued requests wait for the target to recover, then delivery resumes automatically. A request moves to Held for retry if it runs out of attempts or fails with a status that is not retried. The failure reason is shown with the entry. Fix the target, then use Retry to send it again.

Limits

How long an entry is kept, and how much a project can hold, are on What happens to a request after we accept it. When the queue is full, the oldest entries go first, and the page then shows how many were discarded that way, so the count is never hidden. We email the project owner and editors as the queue fills.

When it fails

  • "Not enough credits to retry this entry. A replay is billed like any request." Top up, then retry. Retry all re-queues what it can pay for and leaves the rest held.
  • "This entry can never succeed, so it was not replayed." The reason is shown with it. Fix the endpoint or target it points at, then send a new request; replaying the old one would fail the same way.
  • "Held delivery not found." Someone else already retried or discarded it.

What it costs

A retry is billed like a new request. Discarding is free. See Credits & billing.

Try it

List what is held, then read one entry by its ID:

export ECHORELAY_MANAGEMENT_TOKEN='er_mcp_…'
curl -sS "https://api.echorelay.dev/dlq" \
  -H "Authorization: Bearer $ECHORELAY_MANAGEMENT_TOKEN"
curl -sS "https://api.echorelay.dev/dlq/<entry-id>" \
  -H "Authorization: Bearer $ECHORELAY_MANAGEMENT_TOKEN"

To retry it, send POST /dlq/<entry-id>/retry with the same header; DELETE /dlq/<entry-id> discards it. Over MCP these are list_dlq, get_dlq_entry, retry_dlq_entry and discard_dlq_entry. To find the entry for a request you already know, use GET /dlq/by-request/<request-id>.