[SalesForce] Why is this triggered send “Queued” in response, but never actually queued or sent

It sounds like my issue is similar to this question. I'm currently POSTing (via Postman) to the following:

https://www.exacttargetapis.com/messaging/v1/messageDefinitionSends/key:MY_CORRECT_KEY/send?access_token=MY_CORRECT_TOKEN

I'm getting a 202 response code with the following body:

{
    "requestId": "REQUEST_ID_HERE",
    "responses": [
        {
            "recipientSendId": "RECIPIENT_ID_HERE",
            "hasErrors": false,
            "messages": [
                "Queued"
            ]
        }
    ]
}

However, when I check in Salesforce, my Queued in "Interactions -> Triggered Emails" stays stuck at 0. I have run the "Validate", and it passes with flying colors. I am able to generate a "Preview" within Salesforce using my data extension. I'm also able to trigger other API Triggered Emails with this approach, up until this one. Is there a way to debug the issue without a costly service call?

Data extension setup:
Data extension screenshot

Best Answer

I'll assume you're looking at the same account to which you're making this REST call. I've gotten that mixed up before -- using Postman Environments, etc.

If new rows are getting added to the Data Extension, but your email is not getting sent, it's usually an email scripting issue. You can rule that out by swapping out the email in your triggered send definition and publishing the changes. My go-to email for that kind of testing is this:

<html>
<head>
  <style>
    body, a, input {font-family:sans-serif;}
  </style>
</head>
<body style="font-family:sans-serif">
%%[/* Modify to view AMPScript <div style="display:none"> */

var @firstName
set @firstName = AttributeValue("firstName")

/*</div>*/
]%%
Hi, %%=v(@firstName)=%%.<br><br>
<a href="%%profile_center_url%%">Profile/Preference Center</a>
<br><a href="%%subscription_center_url%%">Subscription Center</a>
<br><a href="%%unsub_center_url%%">One-Click Unsubscribe</a>
<p>This email was sent by:
<b>%%Member_Busname%%</b>
<br>%%Member_Addr%%
<br>%%Member_City%%, %%Member_State%%, %%Member_PostalCode%%, %%Member_Country%%</p>
<custom name="opencounter" type="tracking">
</body>
</html>

Just for a test, I thought I'd submit one myself. I was able to successfully fire off an email with this configuration:

POST /messaging/v1/messageDefinitionSends/key:Trigger_Test/send HTTP/1.1
Host: www.exacttargetapis.com
Authorization: Bearer ZZZZZZZZZZZZZZZZZZZZZ
Content-Type: application/json
Cache-Control: no-cache
Postman-Token: e301c2d2-dffb-5f10-0e4a-0e6033d8294a

{
    "To": {
        "Address": "adam.spriggs@salesforcemvps.com", 
        "SubscriberKey": "adam.spriggs@salesforcemvps.com", 
        "ContactAttributes": {
            "SubscriberAttributes": {
                "FirstName": "Adam"
            }
        }
    }
}

Response:

{
    "requestId": "fd11bca1-7bcb-45d1-9136-cbdd9782ad86",
    "responses": [
        {
            "recipientSendId": "fd11bca1-7bcb-45d1-9136-cbdd9782ad86",
            "hasErrors": false,
            "messages": [
                "Queued"
            ]
        }
    ]
}