You see the enqueue_failed status when your email contains content that the platform cannot render for a specific customer. This usually happens when you work with data in Jinja that is not available for that customer.
In this case, the platform does not send the email and records a campaign event with the enqueue_failed status on the impacted customer profile.
How to find the root cause:
- Go to the impacted customer profile or to a sample of affected customers.
- Open the campaign event with the enqueue_failed status.
- Check the message attribute in the event to see why Marketing was unable to render the content for this customer.
How to fix enqueue_failed:
To resolve the enqueue_failed error, make sure your template handles all edge cases correctly.
- Ensure that the content behaves as expected for any input that can be received by the campaign.
- Ensure that no data is missing for any object you reference in Jinja, such as event properties or customer attributes.
📘
A missing email or phone property on the customer profile does not generate enqueue_failed events. These fields can be empty without causing this status.