Object Storage Service


Object Storage Service

Error Response Structure

If an error occurs at the time of interacting with APIs, response of cloud storage server includes:

  1. Corresponding HTTP 3xx, 4xx and 5xx status code (HTTP Status)

  2. Message body of JSON format

The following is an example of returning JSON:

{"code"   :"AccessDenied","message":"Access   Denied","resource":"/mybucket/public/index.html",

The following table introduces the meaning of each element:

Name Description
code Error Code
message Description of error message through which the problem can be preliminarily located.
RequestId Unique ID of Identification Request
Resource Include request resource descriptor of Bucket or Object.
Update Time:2019-07-01 17:59:29