The current form validation on the settings form for the Brevo API key displays a generic error message.
I was trying to save my api key and it failed.
After some investigation I discovered it was caused by an api authentication issue, because my ip was not allowed in the brevo account api configuration.
I think it would help to show an error message in the form validation, including the reason why the validation is failing.

Issue fork brevo-3571971

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

kensae created an issue. See original summary.

kensae’s picture

Status: Active » Needs review

  • renrhaf committed b159bbc4 on 1.0.x
    Issue #3571971 by kensae, renrhaf: Settings form validation on Brevo API...

renrhaf’s picture

Status: Needs review » Fixed

Now that this issue is closed, review the contribution record.

As a contributor, attribute any organization that helped you, or if you volunteered your own time.

Maintainers, credit people who helped resolve this issue.

kensae’s picture

Hi @renrhaf, thanks for getting those changes merged! I noticed my contribution wasn't credited in the commit/issue summary. Would you mind updating the credits so it shows up on my Drupal.org profile? I’d appreciate it for my contribution history. Thanks!

renrhaf’s picture

Hi, sorry I thought it's still working through the commit message, but I've fixed it using the drupal.org system ! Have a nice day !

kensae’s picture

No worries. Thanks!

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.