forked from docs/doc-exports
Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
136 lines
10 KiB
HTML
136 lines
10 KiB
HTML
<a name="obs_03_0013"></a><a name="obs_03_0013"></a>
|
|
|
|
<h1 class="topictitle1">Error Code List</h1>
|
|
<div id="body8662426"><p id="obs_03_0013__p58624980">If OBS (compatible with OpenStack Swift) encounters an error when processing a request, a response containing the error code and error description is returned. <a href="obs_03_0013.html#obs_03_0013__table30733758">Table 1</a> describes all error codes in OBS (compatible with OpenStack Swift).</p>
|
|
|
|
<div class="tablenoborder"><a name="obs_03_0013__table30733758"></a><a name="table30733758"></a><table cellpadding="4" cellspacing="0" summary="" id="obs_03_0013__table30733758" frame="border" border="1" rules="all"><caption><b>Table 1 </b>List of error codes in OBS (compatible with OpenStack Swift)</caption><thead align="left"><tr id="obs_03_0013__row56417443"><th align="left" class="cellrowborder" valign="top" width="27.852785278527854%" id="mcps1.3.2.2.4.1.1"><p id="obs_03_0013__p33985582">Error Code</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="45.904590459045906%" id="mcps1.3.2.2.4.1.2"><p id="obs_03_0013__p33314938">Description</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="26.242624262426244%" id="mcps1.3.2.2.4.1.3"><p id="obs_03_0013__p41181705">HTTP Status Code</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="obs_03_0013__row4947497295325"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p5371389395339">Moved Permanently</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p5585811195339">The requested resource must be addressed using a specified node. Send all future requests to the node.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p2821317095339">301 Moved Permanently</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row2578060295520"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p785402295520">Not Modified</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p326046869577">The requested resource has not changed (since the last access or based on the conditions specified in the request).</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p5774263995520">304 Not Modified</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row6566625616251"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p1736655116251">Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p6451335316251">The syntax of a request was incorrect.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p5819912016251">400 Bad Request</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row5079978216247"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p2114171616247">Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p3475744616247">Unauthorized. The authentication failed or the token is invalid.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p6388976516247">401Unauthorized</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row129792029490"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p329382789498">Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p507548299498">The access was denied.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p175005059498">403 Forbidden</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row41964036101550"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p43643764101550">Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p45483976101550">The requested resource does not exist.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p60323433101550">404 Not Found</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row6242678394912"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p915417594926">Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p329069194926">The specified method is not allowed on the requested resource.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p6521941294926">405 Method Not Allowed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row629030216328"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p3975244516328">Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p6583150116328">Not acceptable. The request may contain invalid parameters or headers.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p3075138216328">406 Not Acceptable</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row5812035916332"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p1012863516332">Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p1511313616332">This operation caused a conflict. For example, a non-empty container is deleted.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p1620452616332">409 Conflict</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row18155865"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p191517979501">Missing Content Length</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p77917539501">HTTP headers must contain the <strong id="obs_03_0013__b29365919">Content-Length</strong> field.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p271522579501">411 Length Required</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row4485256995019"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p1757512495024">Precondition Failed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p1429891595024">At least one specified precondition has not been met.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p1736145595024">412 Precondition Failed</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row3253737095128"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p1828133995128">Request Entity Too Large</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p439352995128">The amount of data to be uploaded has exceeded what is supported.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p2033157995128">413 Request Entity Too Large</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row10805699"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p182616094948">Invalid Range</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p1370124994948">The requested range cannot be obtained.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p3605941694948">416 Client Requested Range Not Satisfiable</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row65677253"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p5868878094718">Unprocessable Entity</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p3211839494718">The request format is correct but contains incorrect syntax, making it unprocessable.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p5545739194718">422 Unprocessable Entity</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row35621584"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p3719588595921">Internal Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p6007671795921">Internal error. Please retry.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p3437588995921">500 Internal Server Error</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="obs_03_0013__row43121747"><td class="cellrowborder" valign="top" width="27.852785278527854%" headers="mcps1.3.2.2.4.1.1 "><p id="obs_03_0013__p2841710695921">Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="45.904590459045906%" headers="mcps1.3.2.2.4.1.2 "><p id="obs_03_0013__p2008425695921">The service is unavailable.</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="26.242624262426244%" headers="mcps1.3.2.2.4.1.3 "><p id="obs_03_0013__p1621207995921">503 Service Unavailable</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="obs_03_0012.html">Error Responses</a></div>
|
|
</div>
|
|
</div>
|
|
|