> ## Documentation Index
> Fetch the complete documentation index at: https://docs.stackshift.cloud/llms.txt
> Use this file to discover all available pages before exploring further.

# Retries, replay and the dead-letter list

> Failed deliveries retry 8 times over about 2 days. After the eighth failure the delivery goes to the dead-letter list, the destination or rule is turned off, and the owner gets an email.

> [!TIP]
>
> **Live.** This area is documented as current, user-reliable behavior.

## Goal

Understand delivery statuses, fix a failing target and replay what it missed.

## Prerequisites

* A rule with deliveries.

## Workflow

**Step 1**

Open Events, Deliveries and choose Show: Retrying or Gave up.

**Step 2**

Open a delivery to read each attempt: the request headers, the response status and body, the error and the time it took.

**Step 3**

Fix the target, then turn the destination or rule back on.

**Step 4**

Replay the deliveries it missed.

## Statuses

* Waiting, Sending, Delivered, Retrying, Gave up.
* You no longer have access: the rule’s owner can no longer read the event’s subject. Not retried.
* Event expired: the event is older than 30 days.
* Destination removed: the rule or destination was deleted or turned off.

## Retry schedule

After a failed attempt StackShift waits 1 minute, then 5 minutes, 15 minutes, 1 hour, 3 hours, 6 hours, 12 hours and 24 hours. A non-2xx answer, a timeout or a network error is a failure.

## When a target keeps failing

* After the eighth failed attempt the delivery shows Gave up and joins the dead-letter list.
* StackShift turns the destination or rule off and emails the owner: no more events are sent to it until you turn it back on.
* A failing destination shows Why sending to \<name> fails, built from its last replies.
* Test sends and replays never turn anything off.

## Replay and test

* Replay sends the same event again as a new delivery, from Deliveries, with stackshift events replay \<delivery>, or POST /api/v1/events/deliveries/\{id}/replay. Events older than 30 days cannot be replayed.
* Send a test event on a destination or rule sends a sample event marked "test": true.
* For team rules, replays need Owner or Admin.

## Expected result

> [!TIP]
>
> Every missed event is delivered once the target works again.

## Related guides

> [card] [Verify webhook signatures](https://docs.stackshift.cloud/events/verify-webhooks.md)
>
> Every webhook is signed with HMAC-SHA256 of the timestamp and raw body. Verify it with the SDK for JavaScript, Python, Go, Ruby or PHP.

> [card] [Events API](https://docs.stackshift.cloud/events/api.md)
>
> Read the catalog and recent events, stream them live, and manage destinations, rules and deliveries under /api/v1/events.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.