0002-00000712

更新时间:
复制 MD 格式

Problem description

The X-Amz-Algorithm form field is missing from the PostObject request.

Causes

X-Amz-Algorithm identifies the signature algorithm in a PostObject request. When you use the Amazon S3-compatible V4 signature, the x-amz-signature form field is required. If this field is absent, OSS cannot determine the signature algorithm and rejects the request.

Examples

You initiated a PostObject request using the Amazon S3-compatible V4 signature, but omitted the X-Amz-Algorithm form field.

Solutions

Add the X-Amz-Algorithm form field to your PostObject request and set the x-amz-signature form field to AWS4-HMAC-SHA256. If you use the Amazon S3-compatible V4 signature, the x-amz-signature form field is also required.

For more information, see PostObject.