状态代码 403:SignatureDoesNotMatch,当我使用 Amazon SES 时 [英] Status Code 403: SignatureDoesNotMatch when I am using Amazon SES

查看:42
本文介绍了状态代码 403:SignatureDoesNotMatch,当我使用 Amazon SES 时的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建了一个新的亚马逊账户.创建 SMTP 凭证并使用 AWS Java SDK 发送电子邮件.但它因以下错误而失败:

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

状态代码:403,AWS 服务:AmazonSimpleEmailService,AWS 请求ID:xyz,AWS 错误代码:SignatureDoesNotMatch,AWS 错误消息:我们计算的请求签名与您的签名不匹配假如.检查您的 AWS 秘密访问密钥和签名方法.咨询有关详细信息,请参阅服务文档.

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.

推荐答案

为发送电子邮件而提供的密钥不是SMTP 凭据".密钥是全局访问密钥,可以检索 http://docs.amazonwebservices.com/ses/latest/GettingStartedGuide/GetAccessIDs.html.

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.

这篇关于状态代码 403:SignatureDoesNotMatch,当我使用 Amazon SES 时的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆