0002-00000037

更新时间:
复制 MD 格式

Problem description

The request URL does not contain signature information.

Causes

The operation you called requires URL-based authentication. OSS verifies identity by looking for the signature in the URL query string. This error occurs when the signature is absent from the URL or when the signature is placed in the Authorization header instead of the URL.

Examples

The following request places the signature in the Authorization header instead of the URL query string:

GET /test_rtmp_live/test.m3u8?x-oss-process=hls/sign HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization: AWS qn6q**************:77Dv****************
x-oss-security-token: CAIS**************

Solutions

Move the signature from the Authorization header into the URL query string. A valid signed URL includes the following parameters:

ParameterDescription
OSSAccessKeyIdYour AccessKey ID
ExpiresUnix timestamp indicating when the URL expires
SignatureThe computed request signature
security-tokenYour Security Token Service (STS) token (required when using temporary credentials)

The following request includes the signature in the URL query string:

GET /test_rtmp_live/test.m3u8?x-oss-process=hls/sign&OSSAccessKeyId=nz2p********&Expires=1141889120&Signature=vjby********&security-token=CAIS************** HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com

For instructions on generating a signed URL, see Add signatures to URLs.