All Products
Search
Document Center

Object Storage Service:0036-00000007

Last Updated:Sep 23, 2025

Issue

The value of the AllowCopy node in the access tracking configuration request is invalid.

Cause

The error occurs because the value of the AllowCopy node in your PutBucketAccessMonitor request is invalid. You can set the AllowCopy node only when the Status node is set to Enabled. The value of the AllowCopy node must be true or false.

Example

For example, you submitted the following request:

PUT /?accessmonitor HTTP/1.1
Host: BucketName.oss.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

<?xml version="1.0" encoding="UTF-8"?>
<AccessMonitorConfiguration>
  <Status>Enabled</Status>
  <AllowCopy>1</AllowCopy>
</AccessMonitorConfiguration>

The request fails because the value of the AllowCopy node is 1, which is not true or false.

Solution

Ensure that the XML configuration in your request is correct. The following example shows a valid request:

PUT /?accessmonitor HTTP/1.1
Host: BucketName.oss.aliyuncs.com
Date: GMT Date
Authorization: SignatureValue

<?xml version="1.0" encoding="UTF-8"?>
<AccessMonitorConfiguration>
  <Status>Enabled</Status>
  <AllowCopy>true</AllowCopy>
</AccessMonitorConfiguration>

References