0044-00000011
Problem description
The bucket specified by the DestBucket parameter in the Snapshot node of a PutLiveChannel request is not in the same region as the bucket for which the request is made.
Causes
You sent a PutLiveChannel request to create a LiveChannel. The request failed because the value of the DestBucket parameter in the Snapshot node of the XML request body is invalid. The DestBucket parameter specifies the destination bucket for snapshots. The destination bucket must already exist, belong to the same Alibaba Cloud account, and be in the same region as the bucket for which the request is made. This error indicates that the specified destination bucket is in a different region.
Examples
For example, you send the following request:
PUT /test-channel?live HTTP/1.1
Date: Wed, 24 Aug 2016 11:11:28 GMT
Content-Length: xxx
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************
<?xml version="1.0" encoding="utf-8"?>
<LiveChannelConfiguration>
<Description />
<Status>enabled</Status>
<Target>
<Type>HLS</Type>
<FragDuration>2</FragDuration>
<FragCount>3</FragCount>
</Target>
<Snapshot>
<RoleName>role_for_snapshot</RoleName>
<DestBucket>bucket-other-region</DestBucket>
<NotifyTopic>notifyTopic</NotifyTopic>
<Interval>1</Interval>
</Snapshot>
</LiveChannelConfiguration
In the preceding request, the value of the DestBucket node is bucket-other-region. The error is returned because the bucket-other-region bucket and the test-bucket bucket are not in the same region.
Solutions
Ensure that all parameters in the Snapshot node of the XML request body are valid. The DestBucket parameter must specify an existing bucket that is in the same region and belongs to the same Alibaba Cloud account as the bucket specified in the request. For example:
PUT /test-channel?live HTTP/1.1
Date: Wed, 24 Aug 2016 11:11:28 GMT
Content-Length: xxx
Host: test-bucket.oss-cn-hangzhou.aliyuncs.com
Authorization: OSS qn6q**************:77Dv****************
<?xml version="1.0" encoding="utf-8"?>
<LiveChannelConfiguration>
<Description />
<Status>enabled</Status>
<Target>
<Type>HLS</Type>
<FragDuration>2</FragDuration>
<FragCount>3</FragCount>
</Target>
<Snapshot>
<RoleName>role_for_snapshot</RoleName>
<DestBucket>snapshotdest</DestBucket>
<NotifyTopic>snapshotnotify</NotifyTopic>
<Interval>1</Interval>
</Snapshot>
</LiveChannelConfiguration