Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
POST /v3/contactdb/recipients inconsistent error_indices value #1652
Based on the example provided here, I was led to believe that the error_indices array returned lists the index of the array of recipients sent. However when sending the same request twice it returns a different index the second time once the valid emails exist.
If I delete the contacts, then run the request again, I get the proper index returned. So it appears that the error_indices are being offset by the existing contacts.
POST when there are no contacts
POST after all valid contacts exist (the same happens if only some of the contacts exist but the error_indices are different)