Sending Email Fails with Error "Authenticated user is not authorized to send mail"

Last Updated: Aug 2,2024

Overview

Sending emails is failing with the error:

Authenticated user is not authorized to send mail

The error seen in the logs looks like this:

{
   ...
  "type": "fn",
  ...
  "details": {
   ...
    "error": "Authenticated user is not authorized to send mail"
  },
  ...
}

Applies To

  • SendGrid
  • Email

Cause

To troubleshoot the issue, please consider:

  1. Check the extensibility to see if the error is being thrown there.
  2. Check the email provider configuration.
  3. If the user has Sendgrid (Twilio), it might be related to Error 60604. See more details about this error here.

Solution

Change the API key or update its permissions.

Related References