0044-00000410

Updated at:

Problem description

The request is not authenticated by using a signed URL.

Causes

You initiated a GetSignedPlaylist request to obtain the signed URL of each Transport Streams (TS) file in the M3U8 file. However, you did not provide a URL-based signature in the request. A GetSignedPlaylist request requires URL-based signatures for authentication.

Examples

For example, you initiated the following request:

GET /private/playlist.m3u8?x-oss-process=hls/sign HTTP/1.1
Date: GMT Date
Host: BucketName.oss.aliyuncs.com
Authorization: OSS2 AccessKeyId:44CF9590006BF252F707, AdditionalHeaders:host, Signature:n7ICNZqamWxtgueWilwL9my3ScJ0qXKGLzn0XHORmI0=
x-oss-hls-sign-token: aSI78fe****78TYOst

The signature in the preceding request is based on the Authorization request header, which does not comply with the API operation specification. As a result, this error is returned.

Solutions

Make sure that you initiate a GetSignedPlaylist request by using a signed URL. The following code provides a sample request:

GET /private/playlist.m3u8?x-oss-process=hls/sign&OSSAccessKeyId=xxxxx&Expires=1470971863&Signature=*** HTTP/1.1
Date: GMT Date
Host: BucketName.oss.aliyuncs.com
x-oss-hls-sign-token: aSI78fe****78TYOst

For more information, see Add signatures to URLs.

References

Create HLS streams based on OSS