0018-00000301

Updated at:

Problem description

The CnameToken is not created or has expired.

Causes

When you attach a custom domain name to an Object Storage Service (OSS) bucket, OSS verifies your ownership of the domain name. To pass the verification, you must add a TXT record for the generated CnameToken with your domain name provider. The request fails if the CnameToken is not created or has expired.

Example problems

GET /?comp=token&cname=example.com HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Content-Type: application/xml
Content-Length: 186
Date: Thu, 24 Sep 2015 15:39:12 GMT
Authorization: OSS qn6q**************:77Dv****************

Solution

You can regenerate the CnameToken.

Related document

GetCnameToken