Jump to Content

New API Documentation - Developer Preview Available

We are excited to announce the developer preview of our new API documentation for AWS SDK for JavaScript v3. Please follow instructions on the landing page to leave us your feedback.

Class IncorrectKeyException

The request was rejected because the specified KMS key cannot decrypt the data. The KeyId in a Decrypt request and the SourceKeyId in a ReEncrypt request must identify the same KMS key that was used to encrypt the ciphertext.



$fault: "client" = "client"
$metadata: ResponseMetadata
$response?: HttpResponse
$retryable?: RetryableTrait
name: "IncorrectKeyException" = "IncorrectKeyException"