4

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?

7

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

9

The issue lies with the autogenerated GUID for the External/Customer Key (those names are interchangeable) and the Object ID GUID, which is not visible in the UI.

For your particular call, if you are grabbing BBDD0F10-94A1-4CD6-B7A2-32FEB671E44F from the UI, then your API call should be

https://www.exacttargetapis.com/hub/v1/dataevents/key:BBDD0F10-94A1-4CD6-B7A2-32FEB671E44F/rowset
  • 2
    adding the key: to the url worked for me. weird that the docs suggest leaving this out would work. – Ryan Tuck Feb 23 '16 at 18:50
  • 3
    this is the correct answer – Bo Hu Sep 7 '16 at 22:53
  • 1
    The current Documentation is inconsistent in on example it says: /key:SomeKey/ and in the other it just adds the key like /11954DDF-28A3-4FE8-BF77-646C37506621/ – Kuchi Jul 19 '17 at 12:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.