AWS InvalidClientTokenId error
I am using AWS key and secret access key and trying to send an email notification but getting
{
"name": "InvalidClientTokenId",
"$fault": "client",
"$metadata": {
"httpStatusCode": 403,
"requestId": "",
"attempts": 1,
"totalRetryDelay": 0
},
"Type": "Sender",
"Code": "InvalidClientTokenId",
"message": "The security token included in the request is invalid."
}
I have tried generating a new access key and secret ..same with the new one..
1 Reply
Hi @Saruchi
As per AWS docs
https://docs.aws.amazon.com/ses/latest/APIReference/CommonErrors.html
InvalidClientTokenId means
The X.509 certificate or AWS access key ID provided does not exist in our records.
HTTP Status Code: 403