All Products
Search
Document Center

Object Storage Service:0044-00000010

Last Updated:Apr 28, 2024

Problem description

The bucket specified by the DestBucket parameter of the Snapshot node in the PutLiveChannel request does not belong to the same Alibaba Cloud account as the current bucket.

Causes

You initiate a PutLiveChannel request to create a LiveChannel, but specify an invalid value for the DestBucket parameter of the Snapshot node in the XML request body. This parameter specifies the bucket that stores the snapshots. The value must be the name of a bucket that exists in the same region and under the same Alibaba Cloud account as the current bucket. However, you specify a bucket that does not belong to the same Alibaba Cloud account as the current bucket.

Examples

For example, you initiate 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

An error is returned because the bucket specified by the DestBucket parameter of the Snapshot node in the request is bucket-others, which does not belong to the same Alibaba Cloud account as test-bucket.

Solutions

Make sure that the parameters of the Snapshot node in the XML request body are valid. Especially, make sure that the bucket specified by the DestBucket parameter belongs to the same Alibaba Cloud account as the current bucket. The following code provides a valid sample 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>snapshotdest</DestBucket>
        <NotifyTopic>snapshotnotify</NotifyTopic>
        <Interval>1</Interval>
     </Snapshot>
</LiveChannelConfiguration

References