Why am I getting Status "404 Not Found in Postman”

436    Asked by BuffyHeaton in Salesforce , Asked on May 2, 2023
 I am trying to trigger a Trigger Send with a simple payload using Postman, however the TS is not being sent. Note: No response body is generated, the only thing that it shows is "404 Not Found"
POST: {{rest_url}}messaging/v1/messageDefinitionSends/key:TS_ExternalKey/send { "To": { "Address": "EmailAddress", "SubscriberKey": "SF_Contact_Key", "ContactAttributes": { "SubscriberAttributes": { "ResetURL" : "https://www.google.com/" } } }, "Options": { "RequestType": "SYNC" } }
In the Email, I am using the following AMPScript:
set @resetURL = ResetURL Link

What could be the possible reason for this behavior?

Answered by Clare Matthews

Here are the reasons I can think of for your 404 not found in postman response

Incorrect External Key
Incorrect route, is this a legacy triggered send or a new transactional messaging triggeredsend
Auth token is in the context of a different BU (IE token is for EID. TS is in CHILD BU)
You aren't making a POST but a PUT/PATCH
Your TSE endpoint is incorrect for the BU that has the TS

Your Answer

Interviews

Parent Categories