0018-00000206

Updated at:

Problem description

The length of the certificate ID exceeds the specified limit.

Cause

The request failed because the specified certificate ID exceeds the maximum allowed length.

Example problems

This error occurs if you specify a certificate ID that exceeds the length limit when you update the certificate for a custom domain name in Object Storage Service (OSS).

POST /?cname&comp=add HTTP/1.1
Date: Thu, 15 May 2014 11:18:32 GMT
Content-Length:556
Content-Type: application/xml
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************

<BucketCnameConfiguration>
  <Cname>
    <Domain>my.img-cname.com</Domain>
    <Status>enable</Status>
    <CertificateConfiguration>
      <CertId>toooooooo-loooooooong-cert-id-toooooooo-loooooooong-cert-id-cert-id</CertId>
    </CertificateConfiguration>
  </Cname>
</BucketCnameConfiguration>

Solution

Make sure that the certificate ID is less than 64 bytes in length.

References

PutCname