All Products
Search
Document Center

Object Storage Service:0002-00000707

Last Updated:Jul 21, 2023

Problem description

The AccessKey ID in the PostObject request is left empty.

Causes

You initiated a PostObject request that included the signature, but the AccessKey ID is left empty.

  • 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 included the default V1 signature and the signature authentication in the form field, but the OSSAccessKeyId form field is left empty.

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.