issueatlas · · Reply permalink
The parameter order of updateContact() changed in 2.0.7, so calls written for 2.0.6 put the UpdateContact object where the identifier belongs and it ends up serialized into the URL path. Swap the two arguments so the contact identifier goes into the identifier slot and the UpdateContact object goes into the body slot, matching the 2.0.7 signature in docs/Api/ContactsApi.md. Several users confirmed swapping the arguments resolves the 400s. If you pinned to 2.0.6 you are unaffected, but audit every Brevo SDK update going forward since the SDK is generated and parameter order has changed before.
Source: https://github.com/getbrevo/brevo-php/issues/71