forked from docs/doc-exports
Reviewed-by: Bobkova, Natalia <natalia.bobkova@t-systems.com> Co-authored-by: Chen, Junjie <chenjunjie@huawei.com> Co-committed-by: Chen, Junjie <chenjunjie@huawei.com>
113 lines
10 KiB
HTML
113 lines
10 KiB
HTML
<a name="apig-api-180713206"></a><a name="apig-api-180713206"></a>
|
|
|
|
<h1 class="topictitle1">HTTP Status Codes</h1>
|
|
<div id="body8662426"><p id="apig-api-180713206__en-us_topic_0172449737_p8060118"><a href="#apig-api-180713206__en-us_topic_0172449737_table11812530035">Table 1</a> describes common status codes.</p>
|
|
|
|
<div class="tablenoborder"><a name="apig-api-180713206__en-us_topic_0172449737_table11812530035"></a><a name="en-us_topic_0172449737_table11812530035"></a><table cellpadding="4" cellspacing="0" summary="" id="apig-api-180713206__en-us_topic_0172449737_table11812530035" frame="border" border="1" rules="all"><caption><b>Table 1 </b>HTTP status codes</caption><thead align="left"><tr id="apig-api-180713206__en-us_topic_0172449737_row9812123010311"><th align="left" class="cellrowborder" valign="top" width="28.999999999999996%" id="mcps1.3.2.2.3.1.1"><p id="apig-api-180713206__en-us_topic_0172449737_p581216302032">Status Code & Message</p>
|
|
</th>
|
|
<th align="left" class="cellrowborder" valign="top" width="71%" id="mcps1.3.2.2.3.1.2"><p id="apig-api-180713206__en-us_topic_0172449737_p1581214303317">Description</p>
|
|
</th>
|
|
</tr>
|
|
</thead>
|
|
<tbody><tr id="apig-api-180713206__en-us_topic_0172449737_row88125307316"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p11812430435">200 OK</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p5812153017318">The request has been processed successfully.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row181212307316"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p198122302311">204 No Content</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p4812930139">The server successfully processed the request and is not returning any content.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row581213305320"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p19812153018318">400 Bad Request</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1857918225217">The server failed to process the request. Possible causes include:</p>
|
|
<ol id="apig-api-180713206__en-us_topic_0172449737_ol11564122217211"><li id="apig-api-180713206__en-us_topic_0172449737_li14515427112119">Malformed request syntax</li><li id="apig-api-180713206__en-us_topic_0172449737_li19565142215214">Invalid request message framing</li></ol>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row781273013311"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p88121730735">401 Unauthorized</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p138128301738">The request requires user authentication. For example, the username and password are required.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row38129301312"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p12812123018318">403 Forbidden</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p6812133010315">The server understood the request, but is refusing to fulfill it.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row8812133012318"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p188121530331">404 Not Found</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p6812163012317">The server has not found anything matching the request URI.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row1481212304316"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p128121930631">405 Method Not Allowed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p14812730536">The method specified in the request line is not allowed for the resource identified by the request URI.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row16812530536"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p981211301319">406 Not Acceptable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1581217301832">The response generated by the server could not be accepted by the client.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row7812130034"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p8812630636">407 Proxy Authentication Required</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1812113018316">You must first authenticate yourself with the proxy.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row781218301317"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p1081223013311">408 Request Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p481311301632">The server timed out waiting for the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row3813830337"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p18813153014315">409 Conflict</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p138138305312">The request could not be completed due to a conflict with the current state of the resource.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row20813430832"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p8813113016319">410 Gone</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1681353016313">The requested resource is no longer available at the server and no forwarding address is known.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row1813630533"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p0813630238">412 Precondition Failed</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p68130301535">The server does not meet one of the preconditions that the requester put on the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row4813830332"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p198131230839">500 Internal Server Error</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p158131830431">The server encountered an unexpected condition which prevented it from fulfilling the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row581312302312"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p1081393018315">501 Not Implemented</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1681333017319">The server does not support the functionality required to fulfill the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row168131830135"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p481319301310">502 Bad Gateway</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p188132300316">The server, while acting as a gateway or proxy, received an invalid response from the upstream server it accessed in attempting to fulfill the request.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row158131330231"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p12813530636">503 Service Unavailable</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1581314301330">The request could not be processed by the server because the server is being maintained or overloaded.</p>
|
|
</td>
|
|
</tr>
|
|
<tr id="apig-api-180713206__en-us_topic_0172449737_row98135302033"><td class="cellrowborder" valign="top" width="28.999999999999996%" headers="mcps1.3.2.2.3.1.1 "><p id="apig-api-180713206__en-us_topic_0172449737_p13813183014312">504 Gateway Timeout</p>
|
|
</td>
|
|
<td class="cellrowborder" valign="top" width="71%" headers="mcps1.3.2.2.3.1.2 "><p id="apig-api-180713206__en-us_topic_0172449737_p1481373019313">The server was acting as a gateway or proxy and did not receive a timely response from the upstream server.</p>
|
|
</td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="apig-api-190529271.html">Appendix</a></div>
|
|
</div>
|
|
</div>
|
|
|