Issue with API Key Authentication for Brevo

Hi Guys,

I am currently working on adding a new feature for my company using the Brevo API. In my local development environment, I used my personal API key, and everything worked perfectly. The key successfully accessed my email campaigns, contacts, and other data.

However, I encountered an issue when attempting to deploy the feature to our server. I switched to a new API key created under our company account, but it does not work. When I tested the new API key in both our code and the Brevo Dev, I received the following errors:

  • « Sorry, you couldn’t be authenticated with those credentials »
  • { « message »: « not verified », « code »: « unauthorized » }

This issue is quite urgent as it is blocking our deployment process. Could anyone please assist us in resolving this authentication problem as soon as possible?

Thank you for your prompt attention to this matter.

Hi @pusmalun , could this be linked to what is discussed here as well: The API just returns 401 errors - #6 par Michael-Bastien ?

Hi @pusmalun , was the issue fixed in the end?