Problem description
Requests authenticated with the Amazon S3-compatible Signature Version 4 (V4 signature) fail because the S3-compatible authentication mode is not enabled for Object Storage Service (OSS).
Causes
OSS supports its own native authentication modes alongside an optional Amazon S3-compatible authentication mode. The S3-compatible mode is not enabled for OSS. If a request uses Amazon S3-compatible V4 signature authentication and this mode has not been enabled, the request fails.
Examples
You send a request using an Amazon S3 SDK, which signs the request with the V4 signature. Because the S3-compatible authentication mode is not enabled for OSS, the request fails with an authentication error.
Solutions
Two options are available. Choose based on whether you need S3 compatibility:
Option 1: Switch to an OSS-native authentication mode
Update your request to use an authentication mode that OSS supports natively. For a list of supported modes, see Overview.
Option 2: Enable the S3-compatible authentication mode (required if you must keep using an Amazon S3 SDK or V4 signature)
Contact technical support to request that the S3-compatible authentication mode be enabled for OSS.