Skip to main content

At a glance

What it is for

A failed message (“mensaje fallido”, “dead letter”) is a notification the platform could not hand to the provider after every automatic try, or one that arrived broken. It does not disappear: it stays in this list with its last error, so you can see what failed, fix the cause and get the notification out again with Replay.

How to get there

What you see

Failed messages card of the Queues screen: a table with Received, Type, Lane, Attempts and Last error, with rows notification.email on notification-email (5 attempts, Resend 503: service temporarily unavailable), notification.push on notification-push (5 attempts, OneSignal 500), email.cancellation on notification-email (5 attempts, Resend 503: service temporarily unavailable) and notification on notification (1 attempt, Invalid notification message: channel: Required), each with Replay; the Scheduled sends card below.

Four failed messages: an email, a push and a subscription email whose provider was down, and a malformed message.

The list shows the 20 most recent.

Step by step

Understand a failed message

1

Read the error

A 503, a 500 or “temporarily unavailable” means the provider was down: the message itself is fine. An “Invalid notification message” means the message was broken and needs the technology team.
2

Check the provider

If several messages of the same lane failed in the same minutes, it was an outage of that provider. Check its status before acting.
3

Find the send

Every failed delivery also marks its send as Failed and fires the fallback channel if the event has one. Find the customer’s send in Operation › Sends or Operation › Traceability.

Replay a failed message

1

Make sure the cause is gone

The provider is up again, or the technology team fixed the broken message. Replaying before that only fails again.
2

Press Replay

On the message’s row, press Replay. The dialog Replay the failed message? explains: “Sends the message again with the same content, once. If its send ended Failed, the send is retried as from Sends and the reason stays in its history. If it fails again, it returns to this list with the new error.”
Dialog Replay the failed message?: Sends the message again with the same content, once. If its send ended Failed, the send is retried as from Sends and the reason stays in its history. If it fails again, it returns to this list with the new error; buttons Cancel and Replay, over the Failed messages table.

The replay confirmation.

3

Confirm

Press Replay. You see Replay started · “The message is back on its lane.” and the row leaves the list.
4

Check the send

In Operation › Sends, the send moves to Queued and then to Sent. When its send had ended Failed (the usual case, because using up the retries marks it Failed), its history shows the retry with the reason “Reprocesado desde Mensajes fallidos”. If the message fails again, it comes back to this list with the new error.

Retry or resend the send instead

1

Open the send

In Operation › Sends, open the failed send.
2

Retry or resend it

Retry it or resend it, with your own reason. This is still valid, and it is the way when your role has notification:resend but not notification-lane:operate. The failed message stays in this list until someone replays it or the technology team removes it.

Business rules

States and messages

Errors

Why it works this way

Diagram: a queued send goes through up to five delivery attempts; if the provider accepts it the send is Sent and delivery events follow; if every try fails it becomes a failed message in Queues, the send is marked Failed and its fallback channel fires, and the operator retries or resends it from Sends. A malformed message goes to failed messages without retries.

After the last try the send is Failed, its fallback fires and the message waits in Failed messages.

Providers fail now and then for a few seconds, so the platform retries on its own before giving up. Keeping the messages that still failed, instead of dropping them, lets the operator see the cause and decide; marking the send as failed at the same time makes the customer’s history honest and lets the fallback channel try another way. Because the send is already Failed when its message lands here, republishing the message alone would be skipped by the delivery step, which never repeats a failed send. That is why Replay retries the send itself, with a fixed reason in its history, and asks for the same permission as Retry.

Technical detail

FAQ and support cases

The sends that failed during the outage are marked Failed and their fallback channel already fired. Replay the ones that matter (for example a security code is useless an hour later, a contract signed is not), here or with Retry in Operation › Sends.
No. Each press gives one attempt, two presses on the same row publish once, and a send the provider already accepted is skipped.
It was malformed, so retrying could not fix it. Send the error to the technology team.
Not always: if the event has a fallback channel (for example the email of a push), that one went out. Check the occurrence in Operation › Traceability.