[SalesForce] Cannot find Data Extension by external key.

I am getting the response from
https://www.exacttargetapis.com/hub/v1/dataevents/BBDD0F10-94A1-4CD6-B7A2-32FEB671E44F/rowset

{
    "message": "Unable to locate data extension with ID bbdd0f10-94a1-4cd6-b7a2-32feb671e44f",
    "errorcode": 10000,
    "documentation": ""
}

here is my request object.

[
    {
        "keys": {
            "MKTG_ID": "1"
        },
        "values": {
            "Email_Address": "jimmy@example.com",
            "First_Name": "John",
            "Last_Name": "Doe",
            "Preferred_Name": "John Smith",
            "Account_State": "VA",
            "Account_State_Last_Changed": "PN",
            "Archived": 0
        }
    }
]

It says a data extension with this id does not exist when this is the external key. Documentation says I have to pass the customer key. Are the external key and the customer key the same thing? Where do I find the customer key?

Best Answer

Yes, the customer key in this case refers to the external key that's specified when you create the extension as shown below. enter image description here

Related Topic