0005-00000217

Updated at:

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

  1. Call the ListAliases operation to query all aliases in the region of the account.

  2. If the specified alias does not exist, call the CreateAlias operation to create the alias.

  3. If the error persists, contact KMS technical support.

References