0019-00000008
Updated at:
Problem description
Unsupported parameters exist in the XML body of the PutBucketWebSite request that is compatible with Amazon Simple Storage Service (S3).
Causes
The XML body of the S3-compliant PutBucketWebSite request contains the RedirectAllRequestsTo parameter, which is not supported by OSS.
Examples
For example, you initiate the following request:
PUT /?website HTTP/1.1
Date: GMT Date
Content-Length: ContentLength
Content-Type: application/xml
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Authorization: AWS SignatureValue
x-oss-s3-compat: true
<?xml version="1.0" encoding="UTF-8"?>
<Website xmlns="http://s3.amazonaws.com/doc/2006-03-01/">
<RedirectAllRequestsTo>
<HostName>xxx</HostName>
<Protocol>xxx</Protocol>
</RedirectAllRequestsTo>
</Website>
The error is returned for the sample request because the XML request body contains the unsupported RedirectAllRequestsTo parameter.
Solutions
Remove the RedirectAllRequestsTocode parameter from the XML request body.
References
Is this page helpful?