0002-00000701

更新时间:
复制 MD 格式

Problem description

The signature version in a PostObject request is invalid.

Causes

The x-oss-signature-version field in the PostObject request form contains an unsupported value.

Examples

The following request form sets x-oss-signature-version to 2, which is invalid:

x-oss-signature-version: 2

The correct form field is:

x-oss-signature-version: OSS2

Solutions

Choose one of the following fixes:

  • Remove the field. Delete x-oss-signature-version from the request form. OSS uses the default signature version automatically. Use this option if your request does not require a specific signature version.

  • Set the correct value. Change the value to the correct signature version ID, such as OSS2. Use this option when you need to explicitly specify the signature version.

For more information, see PostObject.