All Products
Search
Document Center

Object Storage Service:0002-00000071

Last Updated:Jul 21, 2023

Problem description

The OSSAccessKeyId field in a signed URL is missing.

Causes

You sent a request by using a signed URL. However, the OSSAccessKeyId field in the URL parameter is missing.

Examples

You initiated a request that uses the signature in the URL parameter. However, the OSSAccessKeyId field in the request is missing.

GET /test.txt?Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv**** HTTP/1.0
Date: Tue, 20 Dec 2022 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com

Solutions

Check whether the URL of the request includes the OSSAccessKeyId field and the value of the OSSAccessKeyId field is valid.

GET /test.txt?OSSAccessKeyId=nz2p****&Expires=1141889120&Signature=vjbyPxybdZaNmGa%2ByT272YEAiv**** 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.

Note

We recommend that you use Alibaba Cloud SDKs to initiate requests. Alibaba Cloud SDKs automatically generate signatures for the requests without the need to manually calculate a signature. For more information, see Overview.