0005-00000217
Problem description
HTTP status code 404 that indicates that the key alias does not exist is returned when a read, upload, or download request is sent to an Object Storage Service (OSS) bucket that performs server-side encryption based on the keys that are managed by Key Management Service (KMS).
Causes
The alias of the KMS-managed key that is specified in the request is not created or is deleted.
Examples
When you upload an object to a bucket that uses server-side encryption, and specify a KMS-managed key for encryption and decryption, HTTP status 404 is returned if the alias of the KMS-managed key that is specified in the request is not created or is deleted.
Solutions
-
Call the ListAliases operation to query all aliases in the region of the account.
-
If the specified alias does not exist, call the CreateAlias operation to create the alias.
-
If the error persists, contact KMS technical support.