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": "[email protected]",
            "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?

2 Answers 2

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
3
  • 2
    adding the key: to the url worked for me. weird that the docs suggest leaving this out would work.
    – ryantuck
    Commented Feb 23, 2016 at 18:50
  • 3
    this is the correct answer
    – Bo Hu
    Commented Sep 7, 2016 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
    Commented Jul 19, 2017 at 12:10

You must log in to answer this question.

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