0044-00000010
Problem description
The bucket specified for DestBucket in the Snapshot node of a PutLiveChannel request does not belong to the same Alibaba Cloud account as the current bucket.
Causes
You sent a PutLiveChannel request to create a LiveChannel. The error is returned because the bucket specified for the DestBucket parameter in the Snapshot node of the request body belongs to a different Alibaba Cloud account than the current bucket. The DestBucket parameter specifies the destination bucket for snapshots. The value of this parameter must be the name of an existing bucket that is in the same region and belongs to the same Alibaba Cloud account as the current bucket.
Sample problems
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-others</DestBucket>
<NotifyTopic>notifyTopic</NotifyTopic>
<Interval>1</Interval>
</Snapshot>
</LiveChannelConfiguration
In the preceding request, the value of the DestBucket node is bucket-others. The error is returned because the bucket-others bucket and the test-bucket bucket do not belong to the same Alibaba Cloud account.
Solution
Make sure that the parameters in the Snapshot node of the XML request body meet API requirements. The DestBucket parameter must specify an existing bucket that is in the same region and belongs to the same Alibaba Cloud account as the current bucket. 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