Problem description
A PostObject request fails because the AccessKey ID form field is left blank.
Causes
The request includes a signature but the corresponding AccessKey ID field is blank. PostObject uses different field names depending on the signature version:
| Signature version | AccessKey ID field |
|---|---|
| V1 signature (default) | OSSAccessKeyId |
| V2 signature | x-oss-access-key-id |
| Amazon S3-compatible V2 signature | AWSAccessKeyId |
Examples
A PostObject request includes the default V1 signature, but the OSSAccessKeyId form field is left blank.
Solutions
Set the AccessKey ID in the form field that matches your signature version. Use the table in the Causes section to identify the correct field name.
For field requirements and form structure, see PostObject.
该文章对您有帮助吗?