Title: Getting code 401
Last modified: June 22, 2026

---

# Getting code 401

 *  [fooey](https://wordpress.org/support/users/fooey/)
 * (@fooey)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/getting-code-401/)
 * We are getting this error sent to our slack notifications…
 * Code: 401, Message: Unauthorized, Body: {“errors”:[{“message”:”Maximum credits
   exceeded”,”field”:null,”help”:null}]}
 * I don’t see anything in the log for failed emails. When sending a test, it is
   sent successfully. We have seen this a few times over the past week. Anything
   that can be done here or do you know what is triggering this error in our slack
   notifications?
 * Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/getting-code-401/#post-18945184)
 * Hey [@fooey](https://wordpress.org/support/users/fooey/)
 * Thanks for reaching out.
 * Could you kindly inform me which email service provider you utilize for sending
   emails?
 *  Thread Starter [fooey](https://wordpress.org/support/users/fooey/)
 * (@fooey)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/getting-code-401/#post-18945186)
 * Certainly, It’s Brevo.
 *  Plugin Support [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * (@aqibkhan9)
 * [1 week, 6 days ago](https://wordpress.org/support/topic/getting-code-401/#post-18945248)
 * Thanks for letting me know.
 * The error is being returned directly by Brevo’s API and indicates that the account
   has reached its available sending quota/credits.
 * Since you mentioned the issue is intermittent, it could be that:
    - The account is reaching its daily/monthly sending limits
 *  - Brevo is temporarily enforcing rate or quota restrictions
 * Could you please check your Brevo dashboard and confirm:
    - Remaining email credits
 *  - Current sending quota
 *  - Whether any rate limits have been applied to the account

Viewing 3 replies - 1 through 3 (of 3 total)

You must be [logged in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fgetting-code-401%2F%3Foutput_format%3Dmd&locale=en_US)
to reply to this topic.

 * ![](https://ps.w.org/post-smtp/assets/icon-128x128.gif?rev=3209655)
 * [Post SMTP – Complete Email Deliverability and SMTP Solution with Email Logs, Alerts, Backup SMTP & Mobile App](https://wordpress.org/plugins/post-smtp/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-smtp/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-smtp/)
 * [Active Topics](https://wordpress.org/support/plugin/post-smtp/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-smtp/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-smtp/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [M Aqib Khan](https://wordpress.org/support/users/aqibkhan9/)
 * Last activity: [1 week, 6 days ago](https://wordpress.org/support/topic/getting-code-401/#post-18945248)
 * Status: not resolved