Problem description
The PostObject request includes a signature but is missing the form field that specifies the AccessKey ID.
Causes
When a PostObject request includes a signature, the AccessKey ID must be provided in a specific form field. The required field depends on the signature version used:
| Signature version | Required form field |
|---|---|
| V1 (default) | OSSAccessKeyId |
| V2 | x-oss-access-key-id |
| Amazon S3-compatible V2 | AWSAccessKeyId |
If the corresponding form field is absent, OSS rejects the request with this error.
Examples
A PostObject request uses the default V1 signature and includes signature authentication in the form data, but the OSSAccessKeyId form field is missing.
Solutions
Add the missing form field to your PostObject request based on the signature version you are using: OSSAccessKeyId, x-oss-access-key-id, or AWSAccessKeyId.
For the full list of required form fields and their constraints, see PostObject.
该文章对您有帮助吗?