1

I'm trying to make an API call through POSTMAN to trigger a journey, but when I doing that I am getting

Error: 596 Service Not Found

PostMan Call:

Host: https://************.rest.marketingcloudapis.com

POST /interaction/v1/events

Content-Type: application/json

Authorization: 7La9cWaJExSh6G1ogJi2P8o1

{
    "ContactKey": "1231221",
    "EventDefinitionKey":"APIEvent-73c695fc-8a4c-30a3-5f4a-72b91a159e35",
    "Data": {
        "Email":"*****[email protected]",
        "SubscriberKey":"******[email protected]"}
}

Can someone help in same.

Thanks

Praneet

1
  • is it possible to update the record in DE
    – Ravi.A
    Commented Apr 23, 2019 at 10:47

3 Answers 3

0

try like this

 EndppoinURl: https://www.exacttargetapis.com/interaction/v1/events
 Content-Type: application/json
 Authorization: Bearer YOUR_ACCESS_TOKEN

  this is request
 {
"ContactKey": "YOUR_CONTACTS_KEY",
"EventDefinitionKey":"EVENT_DEFINITION_KEY_OF_API_EVENT",
"EstablishContactKey": true,
"Data": {
    "Email":"*****[email protected]",
    "SubscriberKey":"******[email protected]"
}

}

1
  • Hi @pkharries Thanks for your help. I am able to send through above attribute but I have to add the ContactKey same as SubscirberKey or else it creates a seprate row fir contact key record.
    – Praneet
    Commented Dec 10, 2018 at 4:18
2

@praneet- In the case of a 596 error, it will be an issue with the URL used to call the API is almost every case. Please confirm once the URL again.

1
  • how to update the record in journey builder api event
    – Ravi.A
    Commented Apr 23, 2019 at 10:43
2

This error occurs when the ACCESS_TOKEN has expired or has not been included in the Authorization.

You call should include

Authorization: Bearer YOUR_ACCESS_TOKEN
1
  • @sfdcFanBoy--my question is I am inserting same record using postman for trigger the journey this time need to update the record in DE is it possible
    – Ravi.A
    Commented Apr 23, 2019 at 10:49

You must log in to answer this question.

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