Skip to content
Docs

Deliveries

Retries and failures

Failed messages are retried 7 times over about 8.5 hours before they are marked dead.

Overview

A try fails when your server does not reply within 10 seconds, the connection fails, or the reply is not 2xx. Redirects count as failures; they are not followed. Each message gets up to 7 tries on this schedule:

TryWait after the previous try
1Sent right away
210 seconds
31 minute
45 minutes
530 minutes
62 hours
76 hours

That covers about 8.5 hours. If the 7th try fails, the delivery becomes dead and is not sent again.

If your server was down

  • Short outages heal themselves through retries.
  • For longer ones, list status=dead deliveries to see what you missed, then read the current state from the Cloud API, for example activity or balances.

Tips for a healthy endpoint

  • Reply 2xx as soon as the event is saved, before any slow work.
  • Reply 2xx to duplicates and event types you ignore. An error reply only causes retries.
  • Reply 401 only for bad signatures.
  • Watch stats for a growing dead count.