All Products
Search
Document Center

Object Storage Service:What do I do if the error message "The difference between the request time and the current time is too large" appears when I request resources from OSS?

Last Updated:Mar 20, 2026

The following error was returned for a resource request to Object Storage Service (OSS):

[ResponseError]: RequestTimeTooSkewed The difference between the request time and the current time is too large.

Cause

OSS rejects requests when the timestamp in the request header differs from the OSS server time by more than 15 minutes.

Check the system time of the device used to send the request and change the system time based on your time zone.

Solution

Step 1: Verify your time zone settings

OSS uses Greenwich Mean Time (GMT) as its reference time in all regions. Your device's time zone must be set to GMT or a GMT-relative time zone.

Check your current time zone

  • Windows: Go to Control Panel > Clock and Region > Set the time and date. The time zone drop-down shows your current setting—for example, +08:00 means GMT+08:00.

  • Linux or Unix: Run date -R. A +0800 offset in the output indicates GMT+08:00.

Change the time zone

Follow the steps for your operating system if the time zone is not set to a GMT-based time zone.

Windows

  1. Open Control Panel and click Date and Time or Clock and Region.

  2. Click Change date and time, then click Change time zone.

  3. Select (UTC) Coordinated Universal Time or any GMT time zone from the drop-down menu.

  4. Confirm the change and close Control Panel.

On newer Windows systems, click the date and time in the taskbar to access the same settings.

Linux

  1. Open a terminal.

  2. List available GMT time zones:

       timedatectl list-timezones | grep GMT
  3. Set the time zone:

       sudo timedatectl set-timezone GMT
Important

Changing the time zone on an application server can affect running services. Exercise caution when you change the time zone in a production environment. After you change the time zone, restart your device or related services to apply the change.