0018-00000302

Updated at:

Problem description

A CreateCnameToken request is initiated for the bucket. However, the token specified by CnameToken in the request is already in use.

Causes

The specified CnameToken is already in use. You do not need to create a new CNAME token for the bucket.

Examples

The specified CnameToken is already used by the current custom domain name.

POST /?cname&comp=token HTTP/1.1
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Content-Type: application/xml
Content-Length: 186
Date: GMT Date
Authorization: SignatureValue

<BucketCnameConfiguration>
  <Cname>
    <Domain>example.com</Domain>
  </Cname>
</BucketCnameConfiguration>

Solutions

You do not need to create a new CNAME token. You can continue to use the current custom domain name.

References

CreateCnameToken