0003-00001401

Updated at:

Problem description

The domain name that you accessed is invalid.

Causes

The domain name that you accessed is not a third-level domain.

Examples

Sample request:

GET /oss-example/test.txt HTTP/1.1
Host: oss-cn-hangzhou.aliyuncs.com
Date: Fri, 24 Feb 2012 06:38:30 GMT

Solutions

Use third-level domains that include bucket names in all requests except the requests that you send to call the GetService (ListBuckets) operation. The domain name used to access a bucket is in the BucketName.Endpoint format. BucketName indicates the name of the bucket, and Endpoint indicates the endpoint of the region in which the bucket is located. Example: https://example-bucket.oss-cn-hangzhou.aliyuncs.com.

If you access a bucket by using a third-level domain, the request looks like this:

GET /test.txt HTTP/1.1
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Date: Fri, 24 Feb 2012 06:38:30 GMT