トリガーによる送信定義によって、Marketing Cloud メールを送信すると、送信がトリガーによる送信 API 呼び出しに指定された購読者に配信されないことがありました。
トリガーによる送信は、購読者が行ったアクションによって作成されるため、データエクステンションやリスト送信とは少し異なります。Email Studio のトリガーによるメールでは、SOAP または REST API のいずれかを使用する必要があるため、送信が成功したかどうかのトラブルシューティング時に複雑さが増します。
購読者にトリガーによるメールが送信されない一般的な理由がいくつかあります。各セクションで、動作の概要と、それがメールが送信されない原因となっているかどうかを確認する方法を示します。
⚠️: このナレッジ記事は、Email Studio 経由のトリガーによる送信専用です。一部の情報は Transactional API にも当てはまりますが、この記事は、Email Studio 経由のトリガーによる送信のみに焦点を合わせています。
⚠️: トリガーによる送信定義内に除外スクリプトを作成できない場合、この機能を有効にするカスタマーサポートのケースを作成してください。
⚠️: 一部のエラーコードは SendLog データエクステンションに記録され、API 呼び出しのトラブルシューティングに使用できますが、送信の除外された購読者を識別するには、NotSent データ抽出が推奨されるソースになります。
API を使用し、deliveryRecords URI 経由で、messageDefinitionSends サービスの結果を返すこともできます。エンドポイントには、messageDefinitionSends サービスの応答からの RecipientSendId 値が必要であるため、この値をログに記録していることを確認し、次にそれを URL パラメータとして追加して、トリガーによる送信メッセージの配信 (または未配信) を確認してください。
messageDefinitionSends ルートからの応答の例を次に示します。
{ "requestId": "9719beb7-7447-4c19-ae56-b16e863be863", "responses": [ { "recipientSendId": "9719beb7-7447-4c19-ae56-b16e863be863", "hasErrors": false, "messages": [ "Queued" ] } ] }
recipientSendId 値を書き留めたら、これを次のように URL に挿入します。
https://xxxxxxxxxxxxxxx.rest.marketingcloudapis.com/messaging/v1/messageDefinitionSends/key:PasswordReset/deliveryRecords/9719beb7-7447-4c19-ae56-b16e863be863
GET 呼び出しを実行して、送信に関する情報が返されたら、応答に、送信が成功したか失敗したかに関する情報が提供されます。次に失敗した送信の例を示します。
{ "id": "fe9fbb4c-d316-ec11-b835-48df37d1df5a", "messageId": "af6d0b88-fa96-4815-a7d9-d7312978a5c2", "status": "Error", "to": { "address": "", "id": 0, "key": "" }, "messageErrors": [ { "messageErrorStatus": "There are required data extension fields missing for the subscriber" } ] }
000389503

We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.