All Products
Search
Document Center

Object Storage Service:0016-00000501

Last Updated:Mar 20, 2026

Problem description

The position parameter is missing from the AppendObject request URL.

Causes

The AppendObject request was submitted without the required position query parameter in the URL.

Examples

The following request is missing the position parameter:

POST /example?append HTTP/1.1
Host: versioning-append.oss.aliyuncs.com
Date: Tue, 09 Apr 2019 03:59:33 GMT
Content-Length: 3
Content-Type: application/octet-stream
Authorization: OSS qn6q**************:77Dv****************

Solutions

Add position to the request URL. The value specifies the byte offset at which OSS appends the new data.

  • For the first append on an object, set position=0.

  • For each subsequent append, set position to the current byte length of the object. For example, if the first AppendObject request used position=0 and Content-Length: 65536, the second request must use position=65536.

First append (position=0):

POST /example?append&position=0 HTTP/1.1
Host: versioning-append.oss.aliyuncs.com
Date: Tue, 09 Apr 2019 03:59:33 GMT
Content-Length: 65536
Content-Type: application/octet-stream
Authorization: OSS qn6q**************:77Dv****************

Second append (position=65536, equal to the Content-Length of the first append):

POST /example?append&position=65536 HTTP/1.1
Host: versioning-append.oss.aliyuncs.com
Date: Tue, 09 Apr 2019 03:59:33 GMT
Content-Length: 3
Content-Type: application/octet-stream
Authorization: OSS qn6q**************:77Dv****************

References