Platform
Docs
Solutions
ContactLog In

Error: is not authorized to perform ses sendemail

What's Causing This Error?

This error occurs when an AWS service such as a Lambda function is not authorized to send an email using Amazon SES.

Solution - Here's How To Resolve It

To resolve the error, you will need to attach a policy to the IAM role to allow the AWS resource to execute the ses:SendEmail action.

For example, if you wish to provide a Lambda function the permission to send an email using SES, you would have to create and attach an inline policy for the function's IAM role that allows the ses:SendEmail action. The inline policy is shown below.

1 2 3 4 5 6 7 8 9 10 11 12 13 { "Version": "2012-10-17", "Statement" : [ { "Sid": "Inline Policy for SES Send Email", "Effect": "Allow", "Resource" : "*", "Actions":[ "ses:SendEmail" ] } ] }

The inline policy shown above will ensure that the AWS service is allowed to execute the SendEmail action on an Amazon SES resource and will resolve the permission error.

Other Common Amazon SES Errors (and Solutions)

View all errors

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Get started for free

Email & push notification

Build your first notification in minutes

Send up to 10,000 notifications every month, for free.

Get started for free

Email & push notification

Platform

Users

Content

Channels

Sending

Workflows

Preferences

Inbox

Workspaces

Observability

API Status

Changelog

© 2024 Courier. All rights reserved.