But, the $senders param is not converted correctly in Brevo\Client\Api\TransactionalEmailsApi::getTransacBlockedContactsRequest and is sent as an array in the request making it fail with a 500 error.
As a fix, we can just pass $senders param in ObjectSerializer::toQueryValue to get the expected comma separated list of emails as a string from an array.
According to documentation (and proven by real test),
/v3/smtp/blockedContacts
API endpoint expects asenders
param as a comma separated list of emails : https://developers.brevo.com/reference/gettransacblockedcontactsBut, the
$senders
param is not converted correctly inBrevo\Client\Api\TransactionalEmailsApi::getTransacBlockedContactsRequest
and is sent as an array in the request making it fail with a 500 error.As a fix, we can just pass
$senders
param inObjectSerializer::toQueryValue
to get the expected comma separated list of emails as a string from an array.