Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ContactsAPI updateBatchContacts results in 404 when one of emails not found #257

Open
ybert opened this issue Mar 7, 2023 · 1 comment

Comments

@ybert
Copy link

ybert commented Mar 7, 2023

When I use $this->contactsApi->updateBatchContacts(new UpdateBatchContacts(['contacts' => $updateContacts])); with unknown emails in contact list in sendinblue I get a 404 error.

 [404] Client error: `POST https://api.sendinblue.com/v3/contacts/batch` resulted in a `404 Not Found` response:  
  {"code":"document_not_found","message":"No contact found for indexes 3,4"}    

I think it's wrong as a batch update should not return 404 error. The API doc here https://developers.sendinblue.com/reference/updatebatchcontacts mention that the API should return a 207 response with a list of successIds and a list of failureIds.
For the moment I want to update 5000 contacts in one call and the call fails with no contact updated because one of the 5000 contacts is not in sendinblue.

Can you do something to fix it ?

@cubicom
Copy link

cubicom commented Jun 24, 2023

Hi, please when will this be fixed? It's been 3 months and still no answer at all.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants