Skip to content

Using retry logic for Connected Content

This page covers how to add retries to your Connected Content calls.

How retries work

Because Connected Content relies on receiving data from APIs, an API might be intermittently unavailable while Braze makes the call. In this case, Braze supports retry logic to re-attempt the request using exponential backoff.

Using retry logic

To use retry logic, add the :retry tag to the Connected Content call, as shown in the following code snippet:

When a :retry tag is included in the Connected Content call, Braze will attempt to retry the call up to five times.

Retry outcomes

When a retry succeeds

If a retried attempt is successful, the message is sent and no further retries are attempted for that message.

When the API call fails and retries are enabled

If the API call fails and this is enabled, Braze will retry the call while respecting the rate limit you set for each resend. Braze will move any failed messages to the back of the queue and add additional minutes, if necessary, to the total minutes it would take to send your message.

If the Connected Content call errors out over five times, the message is aborted, similar to how an abort message tag is triggered.

HOW HELPFUL WAS THIS PAGE?
New Stuff!