Status Code 403: SignatureDoesNotMatch when I am using Amazon SES

Deepak Singhal picture Deepak Singhal · Jan 12, 2013 · Viewed 26.5k times · Source

I created a new Amazon account. Created SMTP Credentials and used AWS Java SDK to send emails. But it is failing with following error:

Status Code: 403, AWS Service: AmazonSimpleEmailService, AWS Request ID: xyz, AWS Error Code: SignatureDoesNotMatch, AWS Error Message: The request signature we calculated does not match the signature you provided. Check your AWS Secret Access Key and signing method. Consult the service documentation for details.

Answer

Deepak Singhal picture Deepak Singhal · Jan 12, 2013

The keys to be provided to send Emails are not "SMTP Credentials" . The keys are instead Global access key which can be retrieved http://docs.amazonwebservices.com/ses/latest/GettingStartedGuide/GetAccessIDs.html.