Skip to content

Instantly share code, notes, and snippets.

@georgecoca
Last active September 13, 2016 12:02
Show Gist options
  • Save georgecoca/24dabf0516673465c7031fb5190e322c to your computer and use it in GitHub Desktop.
Save georgecoca/24dabf0516673465c7031fb5190e322c to your computer and use it in GitHub Desktop.
SignatureDoesNotMatch

If you are implementing AWS SES to send e-mails via the API and you get the error SignatureDoesNotMatch, then it's very possible that you are using the SMTP credentials. The SMTP credentials only works when sending via SMTP, so in order to send via the API, you need to creare a new IAM User and manually attach the permissions needed, like this one:

{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Effect": "Allow",
            "Action": [
                "ses:SendRawEmail"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment