All Products
Search
Document Center

Object Storage Service:0005-00000003

Last Updated:Dec 03, 2025

Problem description

The server-side encryption type is not supported.

Causes

This error occurs because you sent a server-side encryption request with an unsupported encryption type. Object Storage Service (OSS) supports only the AES256, SM4, and KMS encryption types.

Examples

For example, you initiate the following PutBucketEncryption request:

PUT /?encryption HTTP/1.1
Date: GMT Date
Content-Length: ContentLength
Content-Type: application/xml
Host: BucketName.oss.aliyuncs.com
Authorization: SignatureValue
<?xml version="1.0" encoding="UTF-8"?>
<ServerSideEncryptionRule>
  <ApplyServerSideEncryptionByDefault>
    <SSEAlgorithm>DES</SSEAlgorithm>
    <KMSMasterKeyID></KMSMasterKeyID>
  </ApplyServerSideEncryptionByDefault>
</ServerSideEncryptionRule>

The request is rejected because the SSEAlgorithm field is set to DES. OSS supports only the AES256, SM4, and KMS encryption types.

Solutions

Set the SSEAlgorithm field to a supported encryption type, such as AES256, SM4, or KMS. For more information about how to configure other fields, see PutBucketEncryption.