Closed QuillyT closed 5 years ago
I figured out the problem.
I was passing in the same email to the attributes of the CreateContact object.
Without setting the EMAIL
key under attributes, I passes.
I now realize that the purpose of setting the EMAIL
attribute is to update the email of an existing contact.
I think it would be helpful to include this in the documentation.
Hi,
I can't get create_contact() to update an existing user.
This will successfully create a new contact, but it won't update an existing user. I get this error:
I know the server is handling the API correctly because I have successfully made changes to an existing user here: https://developers.sendinblue.com/reference#createcontact
Seems like the library is missing something before making the request.