SendInBlue

Provides SendInBlue Newsletter integration services.

Back to SendInBlue Support

guillaume54004
guillaume54004

Hi, i bought the sendinblue plugin, and i'm having a small issue with it on my website.

If you try to add an already existing email address through the subscribe form, an alert pops up with the following error :

"Client error:POST https://api.sendinblue.com/v3/contactsresulted in a400 Bad Requestresponse: {"code":"duplicate_parameter","message":"Contact already exist"} " on line 113 of /plugins/studiobosco/sendinblue/vendor/guzzlehttp/guzzle/src/Exception/RequestException.php"

This provides plugin from showing the real error message with the request-update event.

Could you help me with this ?

Thanks in advance.

Last updated

ondrej18436
ondrej18436

Hello. Thank you for the bug report. I will provide a bugfix and plugin update asap. The expected behaviour would be, that a messages gets displayed, that the email could not be subscribed. For security and privacy reasons I would not display that the contact already exists as this would allow to scan email lists for already subscribed emails.

guillaume54004
guillaume54004

Alright, thank you for your fast answer.

Could you please update this topic when the bugfix will be done ?

Thanks,

best regards.

ondrej18436
ondrej18436

Errors are now catched and available in the error variable from within the template. You can then decide what the template should show to the user.

1-4 of 4