0

I'm trying to search for a contact by contact key using the SFMC REST API but all I am getting is a HTTP 500. I am using a known contact ID.

Endpoint: (POST) https://www.exacttargetapis.com/contacts/v1/contacts/search

{
"conditionSet": {
    "operator": "And",
    "conditionSets": [],
    "conditions": [{
        "attribute": {
            "key": "Contact.Contact Key",
            "id": "",
            "isCustomerData": false
        },
            "operator": "Equals",
            "value": {
                "items": ["123"]
        }
    }]
}

I'm also getting a 500 when using other known attributes as well as trying different combinations of the fully qualified name of the attribute key and/or the ID. This data was obtained from https://www.exacttargetapis.com/contacts/v1/attributeSetDefinitions

Thanks

0

Sorry for the quick closure but turns out it's due to the contact model being broken in one of the business units so something to bare in mind if anyone experiences the same issues.

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.