Goal
Understand delivery statuses, fix a failing target and replay what it missed.Prerequisites
- A rule with deliveries.
Workflow
1
Open Events, Deliveries and choose Show: Retrying or Gave up.
2
Open a delivery to read each attempt: the request headers, the response status and body, the error and the time it took.
3
Fix the target, then turn the destination or rule back on.
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
Every missed event is delivered once the target works again.
Related guides
Verify webhook signatures
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.
Events API
Read the catalog and recent events, stream them live, and manage destinations, rules and deliveries under /api/v1/events.