All Products
Search
Document Center

Object Storage Service:0002-00000706

Last Updated:Jul 21, 2023

Problem description

The form field that is used to specify the AccessKey ID is missing in the PostObject request.

Causes

You initiated a PostObject request that includes a signature, but the form field that is used to specify the AccessKey ID is missing.

  • If a default V1 signature is included in the PostObject request, the AccessKey ID must be specified in the OSSAccessKeyId form field.

  • If a V2 signature is included in the PostObject request, the AccessKey ID must be specified in the x-oss-access-key-id form field.

  • If an Amazon S3-compatible V2 signature is included in the PostObject request, the AccessKey ID must be specified in the AWSAccessKeyId form field.

Examples

You initiated a PostObject request that includes a default V1 signature and the signature authentication in the form field, but the OSSAccessKeyId form field is missing.

Solutions

Specify the AccessKey ID in one of the following form fields based on the signature version that you selected: OSSAccessKeyId, x-oss-access-key-id, and AWSAccessKeyId.

For more information, see PostObject.