Problem description
The signed request that includes virtual private cloud (VPC) access restrictions is not initiated from the specified VPC.
Causes
You initiated a signed request that includes VPC access restrictions, but the VPC from which the request is initiated does not meet the signature requirements.
Examples
The VPC that is allowed to access Object Storage Service (OSS) resources is specified when the signature is generated. However, when you use the signed URL to initiate a request, the client is not in the VPC 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 within the specified VPC.
Make sure that the parameters specified when the signature is generated are valid. For more information, see Add signatures to URLs.
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.