All Products
Search
Document Center

Object Storage Service:0002-00000710

Last Updated:Mar 20, 2026

Problem description

The x-oss-credential field in a PostObject request contains an invalid value.

Causes

The PostObject request uses V4 signature, but the x-oss-credential field value does not follow the required format.

Examples

The value of the x-oss-credential field in the request does not end with aliyun_v4_request.

Solutions

Set x-oss-credential to the following format:

<YOUR-AKID>/YYYYMMDD/REGION/SERVICE/aliyun_v4_request
The aliyun_v4_request string is required and must be the final segment.

Replace the placeholders as follows:

PlaceholderDescriptionExample
<YOUR-AKID>Your AccessKey IDLTAI5tXxx
YYYYMMDDThe signing date20240315
REGIONThe OSS region IDcn-hangzhou
SERVICEThe service identifieross

For the complete PostObject request specification, see PostObject.