doc-exports/docs/vpn/api-ref/vpn_api_0067.html
Hongwei, King Wang 32c06a10a2 vpn_api
Reviewed-by: Sarda, Priya <prsarda@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-authored-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
Co-committed-by: Hongwei, King Wang <king.wanghongwei@huawei.com>
2024-08-15 14:18:28 +00:00

83 lines
7.8 KiB
HTML

<a name="EN-US_TOPIC_0000001854169185"></a><a name="EN-US_TOPIC_0000001854169185"></a>
<h1 class="topictitle1">Error Codes</h1>
<div id="body8662426"><div class="section" id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_section665214019123"><h4 class="sectiontitle">Description</h4><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p10753193111317">If an error occurs when an API is called, error information is returned. This section describes the error information for VPN APIs (excluding native OpenStack APIs).</p>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_section18954114131314"><h4 class="sectiontitle">Response Format</h4><pre class="screen" id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_screen12998105310144">{
"code": "VPN.0001",
"message": "invalid request:xxx"
}</pre>
</div>
<div class="section" id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_section274813193132"><h4 class="sectiontitle">Error Code Description</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_table1697655195242" frame="border" border="1" rules="all"><thead align="left"><tr id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_row4329637495242"><th align="left" class="cellrowborder" valign="top" width="7.759224077592242%" id="mcps1.3.3.2.1.7.1.1"><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_p1734541495242"><strong id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_b176441289594">Module</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.928707129287071%" id="mcps1.3.3.2.1.7.1.2"><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p1085804113317"><strong id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_b199917297598">Status Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.728427157284273%" id="mcps1.3.3.2.1.7.1.3"><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p11139563182"><strong id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_b4639166202">Error Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="17.908209179082093%" id="mcps1.3.3.2.1.7.1.4"><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_p6280127495242"><strong id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_b36391665207">Error Information</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="12.7987201279872%" id="mcps1.3.3.2.1.7.1.5"><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p4220745151912"><strong id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_b14962184175912">Description</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="32.87671232876712%" id="mcps1.3.3.2.1.7.1.6"><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p20144621101910"><strong id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_b1764046172018">Handling Measure</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_row5373842795242"><td class="cellrowborder" rowspan="4" valign="top" width="7.759224077592242%" headers="mcps1.3.3.2.1.7.1.1 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p0177510102119">Common</p>
</td>
<td class="cellrowborder" valign="top" width="12.928707129287071%" headers="mcps1.3.3.2.1.7.1.2 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p185874111315">400</p>
</td>
<td class="cellrowborder" valign="top" width="15.728427157284273%" headers="mcps1.3.3.2.1.7.1.3 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p1013256171814">VPN.0001</p>
</td>
<td class="cellrowborder" valign="top" width="17.908209179082093%" headers="mcps1.3.3.2.1.7.1.4 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p24501918142219">invalid request:xxx</p>
</td>
<td class="cellrowborder" valign="top" width="12.7987201279872%" headers="mcps1.3.3.2.1.7.1.5 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p192201445141920">The input parameter is invalid.</p>
</td>
<td class="cellrowborder" valign="top" width="32.87671232876712%" headers="mcps1.3.3.2.1.7.1.6 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p1014472131911">Contact technical support.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_row2485435295242"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.1 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p11858154183111">500</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.2 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p413195614181">VPN.0002</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.3 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p13041623172219">server error: xxx</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.4 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p5220164515199">Internal server error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.5 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p1914422141919">Contact technical support.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_row2093713795242"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.1 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p785814119314">403</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.2 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p1413115617187">VPN.0003</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.3 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_p6382566195242">Authentication failed: xxx</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.4 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p522064591915">Access denied.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.5 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p11451421171916">Obtain the required permissions.</p>
</td>
</tr>
<tr id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_row3756004295242"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.1 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p385813413313">404</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.2 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p91335619181">VPN.0004</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.3 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_en-us_topic_0134922687_p769301595242">resource not found</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.4 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p1220114516192">Failed to find the resource.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.7.1.5 "><p id="EN-US_TOPIC_0000001854169185__en-us_topic_0000001847699017_p71451421191920">Check whether the resource ID is correct or whether the resource exists under the tenant.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="vpn_api_0050.html">Appendixes</a></div>
</div>
</div>