doc-exports/docs/drs/api-ref/drs_05_0003.html
Wang , Deng Ke 231618c804 DRS API 2.0.38SP23 version
Reviewed-by: gtema <artem.goncharov@gmail.com>
Co-authored-by: Wang , Deng Ke <wangdengke2@huawei.com>
Co-committed-by: Wang , Deng Ke <wangdengke2@huawei.com>
2022-11-24 16:49:13 +00:00

103 lines
8.4 KiB
HTML

<a name="drs_05_0003"></a><a name="drs_05_0003"></a>
<h1 class="topictitle1">HTTP Status Codes for General Requests</h1>
<div id="body0000001073558460"><ul id="drs_05_0003__en-us_topic_0172725497_ul15828788"><li id="drs_05_0003__en-us_topic_0172725497_li63171031">Normal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_05_0003__en-us_topic_0172725497_table7063486" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Return codes for successful requests</caption><thead align="left"><tr id="drs_05_0003__en-us_topic_0172725497_row7125975"><th align="left" class="cellrowborder" valign="top" width="15.15%" id="mcps1.3.1.1.1.2.3.1.1"><p id="drs_05_0003__en-us_topic_0172725497_p40333087"><strong id="drs_05_0003__en-us_topic_0172725497_b1839231819351">Status Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="84.85000000000001%" id="mcps1.3.1.1.1.2.3.1.2"><p id="drs_05_0003__en-us_topic_0172725497_p45754591"><strong id="drs_05_0003__en-us_topic_0172725497_b3392141818358">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="drs_05_0003__en-us_topic_0172725497_row15134400"><td class="cellrowborder" valign="top" width="15.15%" headers="mcps1.3.1.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p17926889">200</p>
</td>
<td class="cellrowborder" valign="top" width="84.85000000000001%" headers="mcps1.3.1.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p42791939">Request succeeded.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row49583138"><td class="cellrowborder" valign="top" width="15.15%" headers="mcps1.3.1.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p56811240">202</p>
</td>
<td class="cellrowborder" valign="top" width="84.85000000000001%" headers="mcps1.3.1.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p38307698">Asynchronous requests (such as performing a task) are submitted successfully.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
<ul id="drs_05_0003__en-us_topic_0172725497_ul63571381"><li id="drs_05_0003__en-us_topic_0172725497_li9224964">Abnormal
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="drs_05_0003__en-us_topic_0172725497_table49008235" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Return codes for failed requests</caption><thead align="left"><tr id="drs_05_0003__en-us_topic_0172725497_row2282555"><th align="left" class="cellrowborder" valign="top" width="43.43%" id="mcps1.3.2.1.1.2.3.1.1"><p id="drs_05_0003__en-us_topic_0172725497_p50669287"><strong id="drs_05_0003__en-us_topic_0172725497_b18956102811354">Status Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="56.57%" id="mcps1.3.2.1.1.2.3.1.2"><p id="drs_05_0003__en-us_topic_0172725497_p10571616"><strong id="drs_05_0003__en-us_topic_0172725497_b1395642853518">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="drs_05_0003__en-us_topic_0172725497_row50994573"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p36919767">400 Bad Request</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p37711141">The server fails to process the request.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row3855953"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p43896801">401 Unauthorized</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p65980010">You must enter the username and password to access the requested page.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row56949179"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p49480747">403 Forbidden</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p48517543">You are forbidden to access the page requested.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row34004710"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p2918112">404 Not Found</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p35040539">The server could not find the requested page.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row46929400"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p43185079">405 Method Not Allowed</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p8330506">The method specified in the request is not allowed.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row7865695"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p33141548">409 Conflict</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p110849">The request cannot be processed due to conflicts.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row997647"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p13700548">413 Request Entity Too Large</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p36002581">The request exceeds the resource quota.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row55587780"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p6316364">415 Unsupported Media Type</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p41863460"><strong id="drs_05_0003__en-us_topic_0172725497_b1033911195329">Content-Type</strong> contained in the request header is not <strong id="drs_05_0003__en-us_topic_0172725497_b14340111913213">application/json</strong>.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row41226821"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p51038233">422 Unprocessable Entity</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p40456209">Parameter or object in the request cannot be identified.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row28561566"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p31785544">500 Internal Server Error</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p24492299">Failed to complete the request. The server is abnormal.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row19104101"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p3928319">501 Not Implemented</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p49758405">Failed to complete the request. The server does not support the requested function.</p>
</td>
</tr>
<tr id="drs_05_0003__en-us_topic_0172725497_row45172469"><td class="cellrowborder" valign="top" width="43.43%" headers="mcps1.3.2.1.1.2.3.1.1 "><p id="drs_05_0003__en-us_topic_0172725497_p35091369">503 Service Unavailable</p>
</td>
<td class="cellrowborder" valign="top" width="56.57%" headers="mcps1.3.2.1.1.2.3.1.2 "><p id="drs_05_0003__en-us_topic_0172725497_p23828670">Failed to complete the request. The system is currently unavailable.</p>
</td>
</tr>
</tbody>
</table>
</div>
</li></ul>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="drs_03_0125.html">Appendix</a></div>
</div>
</div>