0044-00000004

Updated at:

Problem description

The PutLiveChannel request contains a Snapshot node, but the frequent snapshot feature is not supported in the specified region.

Causes

You initiated a PutLiveChannel request to create a LiveChannel. The XML request body contains the Snapshot node, which specifies the parameters for the frequent snapshot feature. This error occurs because the frequent snapshot feature is not supported in the region where your bucket is located.

Examples

For example, consider 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>snapshotdest</DestBucket>
        <NotifyTopic>snapshotnotify</NotifyTopic>
        <Interval>1</Interval>
     </Snapshot>
</LiveChannelConfiguration

The request includes the Snapshot node. The request fails and this error is returned if the specified region does not support this feature.

Solutions

If the frequent snapshot feature is not supported in the region where your bucket is located, ensure that the XML request body does not contain the Snapshot node. The following code provides an 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>
</LiveChannelConfiguration

References