0002-00000504
Updated at:
Problem description
The timestamp in the signed request is significantly different from the server time.
Causes
This error occurs because the timestamp in your signed request is significantly different from the time on the OSS server. The timestamp is specified in the Date request header or the x-amz-date field.
Examples
The following is a sample request:
GET /test.txt HTTP/1.0
Date: Tue, 20 Dec 2020 08:48:18 GMT
Host: oss-example.oss-cn-hangzhou.aliyuncs.com
Authorization:OSS LTAI****************:UNQD*************************
If an OSS server receives this request in 2022, the error is returned because the time specified in the Date field is significantly different from the server time.
Solutions
Ensure that the timestamp in the Date request header or the x-amz-date field is correct.
Note
Use an Alibaba Cloud SDK to send requests. This eliminates the need to manually sign them. For more information, see Overview of sending requests using Alibaba Cloud SDKs.
Is this page helpful?