0

In our Python code, we use the PUT-request of the Brevo API (https://developers.brevo.com/reference/updatecontact) to update the attributes of each of our Brevo's contacts.

While in many cases, the response from the PUT update request is positive:

response code:204

(see image in PJ), in many other cases, this update on existing contact is refused (and not updated, with the error message (displayed in our log file):

response["data"]["code"]: duplicate_parameter
response["data"]["message"]: Unable to update contact, email is already associated to another

...it would be normal to have such an error message for a POST request to create a newcontact, but not for a PUT request to update an existing contact's attributes.

enter image description here

Could any one give me the reason of such apparently "random" behavior?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
sylvain
  • 853
  • 1
  • 7
  • 20

0 Answers0