All Products
Search
Document Center

Object Storage Service:0002-00000038

Last Updated:Apr 29, 2024

Problem description

The request does not use the signature authentication method that is required by the operation.

Causes

The operation that you called must use a signed URL to complete identity verification, but the signature is not included in the request or the request that you initiated includes the signature in the Authorization header.

Examples

The request that you initiated includes the signature in the Authorization header:

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

Include the signature in the URL parameter:

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 more information, see Add signatures to URLs.

Causes

The operation that you called must include the signature in the Authorization header to complete identity verification, but the signature is not included in the request or the request that you initiated includes the signature in the URL parameter.

Examples

Include the signature in the URL parameter:

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

Solutions

Include the signature in the Authorization header:

GET /oss.jpg 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**************

For more information, see Add signatures to headers.