All Products
Search
Document Center

Object Storage Service:0002-00000602

Last Updated:Jul 24, 2023

Problem description

The signature does not match.

Causes

You initiated a signed request that includes IP address access information, but the signature does not match the signature calculated by OSS.

Examples

  • The IP addresses that are allowed to access OSS resources are specified when the signature is generated. You initiated a request to access the signed URL, but your IP address is not in the whitelist.

  • An error occurs during signature calculation. As a result, the signature in the request does not match the signature that is calculated by OSS.

Solutions

  • Make sure that the signed URL is accessed from the specified range of IP addresses.

  • Make sure that the parameters specified when the signature is generated are valid.

  • 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.