doc-exports/docs/dli/api-ref/dli_02_0056.html
Su, Xiaomeng 57a0d535be dli_api_0910_version_api
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
Co-committed-by: Su, Xiaomeng <suxiaomeng1@huawei.com>
2023-10-16 22:01:57 +00:00

211 lines
16 KiB
HTML

<a name="dli_02_0056"></a><a name="dli_02_0056"></a>
<h1 class="topictitle1">Error Codes</h1>
<div id="body1517295261035"><p id="dli_02_0056__p38363796145511">If an error occurs in API calling, no result is returned. Identify the cause of error based on the error codes of each API. If an error occurs in API calling, HTTP status code 4<em id="dli_02_0056__i120624219252">xx</em> or 5<em id="dli_02_0056__i13217442112520">xx</em> is returned. The response body contains the specific error code and information. If you are unable to identify the cause of an error, contact technical personnel and provide the error code so that we can help you solve the problem as soon as possible.</p>
<div class="section" id="dli_02_0056__section777225819583"><h4 class="sectiontitle">Format of an Error Response Body</h4><p id="dli_02_0056__p17828458195815">If an error occurs during API calling, the system returns an error code and a message to you. The following shows the format of an error response body:</p>
<pre class="screen" id="dli_02_0056__screen13828175820582">{
"error_msg": "The format of message is error",
"error_code": "DLI.0001"
}</pre>
<p id="dli_02_0056__p11828125885811">In the preceding information, <strong id="dli_02_0056__b16457182022711">error_code</strong> is an error code, and <strong id="dli_02_0056__b9458152062717">error_msg</strong> describes the error.</p>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0056__table9366913165826" frame="border" border="1" rules="all"><caption><b>Table 1 </b>Exceptions</caption><thead align="left"><tr id="dli_02_0056__row48591470165826"><th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.5.2.4.1.1"><p id="dli_02_0056__p31358739165826"><strong id="dli_02_0056__b15025562">Parameter</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.5.2.4.1.2"><p id="dli_02_0056__p48257464165826"><strong id="dli_02_0056__b2048111713511">Parameter Type</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="33.33333333333333%" id="mcps1.3.2.5.2.4.1.3"><p id="dli_02_0056__p5973956165826"><strong id="dli_02_0056__b5941558116410">Description</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0056__row3968467165826"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.5.2.4.1.1 "><p id="dli_02_0056__p6168790165826">error_code</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.5.2.4.1.2 "><p id="dli_02_0056__p50585232165826">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.5.2.4.1.3 "><p id="dli_02_0056__p11808165826">Error code. For details, see <a href="#dli_02_0056__table40141715145511">Table 2</a>.</p>
</td>
</tr>
<tr id="dli_02_0056__row1334395165826"><td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.5.2.4.1.1 "><p id="dli_02_0056__p60357739165826">error_msg</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.5.2.4.1.2 "><p id="dli_02_0056__p29776513165826">String</p>
</td>
<td class="cellrowborder" valign="top" width="33.33333333333333%" headers="mcps1.3.2.5.2.4.1.3 "><p id="dli_02_0056__p44584926165826">Error details.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dli_02_0056__section4150319217158"><h4 class="sectiontitle">Error Code Description</h4>
<div class="tablenoborder"><a name="dli_02_0056__table40141715145511"></a><a name="table40141715145511"></a><table cellpadding="4" cellspacing="0" summary="" id="dli_02_0056__table40141715145511" frame="border" border="1" rules="all"><caption><b>Table 2 </b>Error codes</caption><thead align="left"><tr id="dli_02_0056__row29521114145511"><th align="left" class="cellrowborder" valign="top" width="21.42785721427857%" id="mcps1.3.3.2.2.4.1.1"><p id="dli_02_0056__p4624557145511"><strong id="dli_02_0056__b166412031164512">Status Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="37.75622437756224%" id="mcps1.3.3.2.2.4.1.2"><p id="dli_02_0056__p62289448145511"><strong id="dli_02_0056__b2844928317130">Error Code</strong></p>
</th>
<th align="left" class="cellrowborder" valign="top" width="40.815918408159185%" id="mcps1.3.3.2.2.4.1.3"><p id="dli_02_0056__p66817641145511"><strong id="dli_02_0056__b84235270616151">Error Message</strong></p>
</th>
</tr>
</thead>
<tbody><tr id="dli_02_0056__row25626561145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p2737943145511">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p64189876145511">DLI.0001</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p39979192145511">Parameter check errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row57037913145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p51719768145511">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p58506607145511">DLI.0002</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p14998717145511">The object does not exist.</p>
</td>
</tr>
<tr id="dli_02_0056__row2342487145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p26001082202716">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p14529668145511">DLI.0003</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p40440374145511">SQL permission verification fails.</p>
</td>
</tr>
<tr id="dli_02_0056__row2925587145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p30089370202716">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p53702119145511">DLI.0004</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p3993540145511">SQL syntax parsing errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row32018352145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p5452315202717">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p66030268145511">DLI.0005</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p51837452145511">SQL semantics parsing errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row54659348145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p15315343202717">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p24984038145511">DLI.0006</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p52759410145511">The object exists.</p>
</td>
</tr>
<tr id="dli_02_0056__row45922785145511"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p17050610202719">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p57564170145511">DLI.0007</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p60618778145511">The operation is not supported.</p>
</td>
</tr>
<tr id="dli_02_0056__row60854776202446"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p14755569202719">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p4995256202451">DLI.0008</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p2457616202446">Metadata errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row62998249202446"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p28327352202721">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p17663220202451">DLI.0009</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p5113272202446">System restrictions.</p>
</td>
</tr>
<tr id="dli_02_0056__row5691745202446"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p49959031202722">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p39848497202451">DLI.0011</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p10692923202446">The file permission check fails.</p>
</td>
</tr>
<tr id="dli_02_0056__row2502141202446"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p47129380202722">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p58525601202451">DLI.0012</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p42346652202446">Resource objects are unavailable.</p>
</td>
</tr>
<tr id="dli_02_0056__row56369397202446"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p21759105202725">401</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p51035059202451">DLI.0013</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p24016783202446">User authentication errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row8397192202446"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p24696291202725">401</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p2611490420260">DLI.0014</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p45555881202446">Service authentication errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row171120122183"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p16122012161816">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p1712612171811">DLI.0015</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p51212128182">Token parsing error.</p>
</td>
</tr>
<tr id="dli_02_0056__row7152992202548"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p7739495202733">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p1534298720260">DLI.0016</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p60959256202548">The identity and role are incorrect.</p>
</td>
</tr>
<tr id="dli_02_0056__row27544158202548"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p49797636202733">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p50246422202618">DLI.0018</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p4564411202548">Data conversion errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row59586017202548"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p63690791202733">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p55311363202618">DLI.0019</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p44129733202548">The task times out.</p>
</td>
</tr>
<tr id="dli_02_0056__row13136461202548"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p66047915202733">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p37066591202618">DLI.0100</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p50654045202548">The result expires.</p>
</td>
</tr>
<tr id="dli_02_0056__row61811116173217"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p918161653210">404</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p7181101683211">DLI.0023</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p71814160327">No related resources were found.</p>
</td>
</tr>
<tr id="dli_02_0056__row88147911114"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p118146918113">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p13212328173312">DLI.0999</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p62141128203310">Server-side errors occur.</p>
</td>
</tr>
<tr id="dli_02_0056__row45838183241"><td class="cellrowborder" valign="top" width="21.42785721427857%" headers="mcps1.3.3.2.2.4.1.1 "><p id="dli_02_0056__p18584181819240">400</p>
</td>
<td class="cellrowborder" valign="top" width="37.75622437756224%" headers="mcps1.3.3.2.2.4.1.2 "><p id="dli_02_0056__p13585121816245">DLI.1028</p>
</td>
<td class="cellrowborder" valign="top" width="40.815918408159185%" headers="mcps1.3.3.2.2.4.1.3 "><p id="dli_02_0056__p95857185248">The quota is insufficient.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<div class="section" id="dli_02_0056__section35051829162056"><h4 class="sectiontitle">Example</h4><p id="dli_02_0056__p2594287616210">If no queue named <strong id="dli_02_0056__b84235270617458">testqueue</strong> exists, the following error message is displayed when you submit a job submission request:</p>
<pre class="screen" id="dli_02_0056__screen19718947162144">{
"error_code": "DLI.0002",
"error_msg": "There is no queue named testqueue"
}</pre>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="dli_02_0011.html">Public Parameters</a></div>
</div>
</div>