All Products
Search
Document Center

Object Storage Service:0017-00000503

Last Updated:Jul 21, 2023

Problem description

The Content-MD5 verification fails.

Causes

Your request contains Content-MD5, but the value of this field does not match the MD5 hash value calculated by the server.

Examples

The request contains Content-MD5 to check whether the message content is the same as the sent content:

PUT /ObjectName HTTP/1.1
Content-Length: ContentLength
Content-Type: ContentType
Host: BucketName.oss-cn-hangzhou.aliyuncs.com
Date: GMT Date
Content-MD5:eB5eJF1ptWaXm4bijS****==
Authorization: SignatureValue

Solutions

Check whether the calculation method of the Content-MD5 field is correct.

References