0

I have a triggered email being sent when users submit an order. It typically works fine, with customers getting the necessary information in their emails. I've had reports of a few customers getting error messages, though, and I'm not sure how to troubleshoot this.

In my code, I send out the email via the API. If I get an error instead of a send, I tell the user the email wasn't sent and to print the page for their records. I plan to add some logging of the error message at this stage so I can hopefully capture whatever the error message is, but is there anything else I can do in the meantime to find out why some users aren't getting their emails? I looked through the reports and didn't see anything that would give me a list of emails that weren't sent. Does something like this exist?

1 Answer 1

0

The first thing that I would try is to create a Sendable Data Extension containing the fields and values that you are using in your API request.

Validate the email using the Sendable DE you created. If there are no errors, then use the Send Preview feature and preview the records in your DE — my guess is you're using AMPscript in your email and there's a data related issue where values are failing to render by the OMM process when the email is sent.

3
  • Ah, interesting. Yes, I am using AMPscript, and looking at some of the errors I logged over the weekend, it could well be something that happens when the order has multiple items. I'll keep digging.
    – llhilton
    Sep 12, 2016 at 14:45
  • Good to hear. If this turns out to be an AMPscript related error, please feel free to mark my answer as accepted for the benefit of others. If you are having AMPscript issues, feel free to create a new question and we will endeavor to assist further. Sep 12, 2016 at 18:16
  • This helped me track down the issue, which was that one of the fields I was doing the AMPscript stuff on wasn't long enough for orders with multiple items, so it was failing. Thanks for your help!
    – llhilton
    Sep 20, 2016 at 14:10

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .