0002-00000073

Updated at:

Issue description

The AccessKey ID provided by the signed URL is invalid.

Cause

A signed URL is used to send a request. However, the value of the OSSAccessKeyId field in the signed URL is invalid.

Example

The following code provides an example:

GET /test.txt?OSSAccessKeyId=ab\tc&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

Solution

Include the valid OSSAccessKeyId field in the signed URL.

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

You can use an SDK to send requests. SDKs automatically sign your requests. For more information, see Use Alibaba Cloud SDKs to initiate requests.