bulk import contacts cannot_add_to_list_count

JasonP0107
Regular Participant

bulk import contacts cannot_add_to_list_count

After using the v3 api bulk import, the activity status is as follows. 12 contacts were not added to list.

 

How do I find out what's the reason that they were not added?

 

Array
(
    [activity_id] => ***************************
    [state] => completed
    [started_at] => 2019-01-23T17:01:27-05:00
    [completed_at] => 2019-01-23T17:01:34-05:00
    [created_at] => 2019-01-23T17:01:27-05:00
    [updated_at] => 2019-01-23T17:01:34-05:00
    [source_file_name] => **********************************.csv
    [percent_done] => 100
    [activity_errors] => Array
        (
        )

    [status] => Array
        (
            [items_total_count] => 298
            [items_completed_count] => 297
            [person_count] => 0
            [error_count] => 0
            [correctable_count] => 0
            [cannot_add_to_list_count] => 12
        )

    [_links] => Array
        (
            [self] => Array
                (
                    [href] => /v3/activities/************************
                )

            [results] => Array
                (
                    [href] => /v3/file_imports/*************************
                )

        )

 

3 REPLIES 3
JasonP0107
Regular Participant

did you mean to post this response to a different question?

I did indeed! My apologies. Let me review yours again here real quick.

 

Regards,
David B.
Tier II API Support Engineer

David_B.
Moderator

Ok, after re-reviewing your post I have a proper response for you! :)

 

The cannot_add_to_list_count is the number of contacts that were not able to be added because they are in an unsubscribed state. There shouldn't be any other reason for a contact to be included in this. Anyone without an email address would likely fall into the error_count, and those with improperly formatted email addresses would be in the correctable_count.

 

Please let me know if you have any other questions!


Regards,
David B.
Tier II API Support Engineer

Developer Portal

View API documentation, code samples, get your API key.

Visit Page