InyokeDocs

Retries and failures

How to answer a request, and what happens when your endpoint is slow or down.

Answer quickly

Answer with any 2xx status within 15 seconds. Do slow work after you answer: put the event on a queue, reply, then process it.

Anything else counts as a failure, including a redirect (redirects aren't followed), a timeout or a refused connection.

A busy agency's endpoint can receive up to 32 requests at once. A receiver that answers quickly keeps up with any volume.

Retries

A failed delivery is tried again on this schedule, eight attempts across about 27 hours:

AttemptAfter the previous one
1Sent right away
25 seconds
35 minutes
430 minutes
52 hours
65 hours
710 hours
810 hours

Every retry has the same event id, so a receiver that saw the event already can skip it.

While your endpoint is down

When your endpoint starts failing, Inyoke tries it with one request at a time, backing off on the same schedule, and holds every other event until one succeeds. Held events don't use up their attempts, so an outage makes deliveries late but doesn't lose them.

When your endpoint answers again, everything held is sent at once. Expect a burst, and don't rely on events arriving in order.

Paused endpoints

An endpoint that has had no successful delivery for 3 days is paused, and Integrations says so. Fix your endpoint, turn it back on, then choose Resend failed from its ⋯ menu to send what it missed. The delivery log keeps 30 days.

You can also resend a single delivery from the endpoint's delivery log.

On this page