You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
#5
Open
sramesh8391 opened this issue
Mar 26, 2019
· 0 comments
I tried your code in my API it shows some error like this
{
"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.",
"code": "SignatureDoesNotMatch",
"time": "2019-03-26T09:17:35.688Z",
"requestId": "fe4e7d29-4fa7-11e9-bc9c-73fcff5b59b9",
"statusCode": 403,
"retryable": false,
"retryDelay": 82.02929132453885
}
This is my code
var AWS = require('aws-sdk'); //Email config
var ses = new AWS.SES();
exports.verifyEmail = (req, res) =>{
var email = "[email protected]";
var params = {
EmailAddress: email
};
ses.verifyEmailAddress(params, (err, data) =>{
if(err) {
res.send(err);
}
else {
res.send(data);
}
});
}
The text was updated successfully, but these errors were encountered:
I tried your code in my API it shows some error like this
This is my code
The text was updated successfully, but these errors were encountered: