1
0
forked from docs/doc-exports
doc-exports/docs/ocr/api-ref/ocr_03_0028.html
Sheng, Lichang f0fbeaa320 OCR api 20240111 v2
Reviewed-by: Pruthi, Vineet <vineet.pruthi@t-systems.com>
Co-authored-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com>
Co-committed-by: Sheng, Lichang <lichangsheng1@noreply.gitea.eco.tsi-dev.otc-service.com>
2024-01-17 10:01:47 +00:00

385 lines
31 KiB
HTML

<a name="ocr_03_0028"></a><a name="ocr_03_0028"></a>
<h1 class="topictitle1">Error Codes</h1>
<div id="body0000001696791752"><p id="ocr_03_0028__p165168443507">No data will be returned if an API fails to be called. You can locate the error cause based on the error code of each API. When an API call fails, HTTPS status code 4<em id="ocr_03_0028__i62151314131518">xx</em> or 5<em id="ocr_03_0028__i1021515144154">xx</em> is returned. The returned message body contains the specific error code and error information. If you fail to locate the cause of the error, contact technical support and provide the error code for troubleshooting.</p>
<div class="section" id="ocr_03_0028__section6120134415012"><h4 class="sectiontitle">Error Response Body Format</h4><p id="ocr_03_0028__p7517154411500">If an error occurs during API calling, an error code and error message will be displayed. An error response body is shown as follows:</p>
<pre class="screen" id="ocr_03_0028__screen151710446507">{
"error_msg": "The input parameter is invalid.",
"error_code": "AIS.0101"
}</pre>
<p id="ocr_03_0028__p125175447505">In the error response, <strong id="ocr_03_0028__b136495525875820">error_code</strong> indicates an error code, and <strong id="ocr_03_0028__b43823045675820">error_msg</strong> describes the error.</p>
</div>
<div class="section" id="ocr_03_0028__section17128844135013"><h4 class="sectiontitle">Error Codes</h4>
<div class="tablenoborder"><table cellpadding="4" cellspacing="0" summary="" id="ocr_03_0028__table1212944445015" frame="border" border="1" rules="all"><thead align="left"><tr id="ocr_03_0028__row125171044105015"><th align="left" class="cellrowborder" valign="top" width="9.180000000000001%" id="mcps1.3.3.2.1.6.1.1"><p id="ocr_03_0028__p1751719442507">Category</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="15.310000000000002%" id="mcps1.3.3.2.1.6.1.2"><p id="ocr_03_0028__p12517644115012">Error Code</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="25.509999999999998%" id="mcps1.3.3.2.1.6.1.3"><p id="ocr_03_0028__p6517174485017">Error Message</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="22.45%" id="mcps1.3.3.2.1.6.1.4"><p id="ocr_03_0028__p16517144145013">Description</p>
</th>
<th align="left" class="cellrowborder" valign="top" width="27.55%" id="mcps1.3.3.2.1.6.1.5"><p id="ocr_03_0028__p205177444504">Solution</p>
</th>
</tr>
</thead>
<tbody><tr id="ocr_03_0028__row35171944175011"><td class="cellrowborder" rowspan="5" valign="top" width="9.180000000000001%" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p351717446505">OCR</p>
</td>
<td class="cellrowborder" valign="top" width="15.310000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p2517124412500">AIS.0101</p>
</td>
<td class="cellrowborder" valign="top" width="25.509999999999998%" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p165171644175014">The input parameter is invalid.</p>
</td>
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p10517194465016">The input parameter does not meet the requirements.</p>
</td>
<td class="cellrowborder" valign="top" width="27.55%" headers="mcps1.3.3.2.1.6.1.5 "><p id="ocr_03_0028__p105171344205012">Check whether the input parameters are correct. Possible causes are as follows:</p>
<ul id="ocr_03_0028__ul15517744105012"><li id="ocr_03_0028__li19517144115014">Both <strong id="ocr_03_0028__b44291243141712">image</strong> and <strong id="ocr_03_0028__b342434641715">url</strong> set, or the value format is incorrect.</li><li id="ocr_03_0028__li145171844185012"><strong id="ocr_03_0028__b207789156475820">true</strong> or <strong id="ocr_03_0028__b15052395175820">false</strong> is incorrectly spelled.</li><li id="ocr_03_0028__li5518244155015">Incorrect characters are included in the parameter value.</li></ul>
<p id="ocr_03_0028__p5518174420502">For details about the parameter value format, see the request parameter description of each API.</p>
</td>
</tr>
<tr id="ocr_03_0028__row6518174495014"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p115181744125015">AIS.0102</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p851864419503">The image format is not supported.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p85204445500">The image format is not supported.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p1452074485010">Check the image format. For details about the image format supported by each service, see "Constraints and Limitations" in the related API section.</p>
</td>
</tr>
<tr id="ocr_03_0028__row185201442505"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p952074445014">AIS.0103</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p95201644135020">The image size does not meet the requirements.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p13520144175012">The image size does not meet the requirements.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p1152094465013">Check the image size. For details about the image size supported by each service, see "Constraints and Limitations" in the related API section.</p>
</td>
</tr>
<tr id="ocr_03_0028__row18520544145011"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p115201044115014">AIS.0104</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p17520344175018">The image is not supported or the image quality is poor.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p145209448508">The image is not supported or is of poor quality.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p12520154405012">Check the image type and quality.</p>
<p id="ocr_03_0028__p1452011440501">Check whether the called API is correct.</p>
</td>
</tr>
<tr id="ocr_03_0028__row752034455018"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p18520194414502">AIS.0105</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p752014448503">Recognition failed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p12523124410509">Algorithm calculation failed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p652319443503">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1652444415507"><td class="cellrowborder" rowspan="28" valign="top" width="9.180000000000001%" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p20524134425019">Platform</p>
</td>
<td class="cellrowborder" valign="top" width="15.310000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1052411447505">ModelArts.0203</p>
</td>
<td class="cellrowborder" valign="top" width="25.509999999999998%" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p052410443504">Invalid token.</p>
</td>
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p452484413502">Invalid token.</p>
</td>
<td class="cellrowborder" valign="top" width="27.55%" headers="mcps1.3.3.2.1.6.1.5 "><p id="ocr_03_0028__p1052444425019">Ensure that the token is correct.</p>
</td>
</tr>
<tr id="ocr_03_0028__row552419449507"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p1524184419503">ModelArts.4101</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1752417442506">Token header cannot be empty.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p18524104419509">The token is empty.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p18524544145018">The HTTP request header does not contain the token request authentication information of <strong id="ocr_03_0028__b32551393075820">x-auth-token</strong>. Check the request.</p>
</td>
</tr>
<tr id="ocr_03_0028__row3524134411500"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p652416441504">ModelArts.4102</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p14524194411503">Parse Token error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p175255442504">Failed to parse the token.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p6525154418506">The token request authentication information of <strong id="ocr_03_0028__b134204944775820">x-auth-token</strong> in the HTTP request header is incorrect. Check the sent request and token.</p>
</td>
</tr>
<tr id="ocr_03_0028__row13525124485013"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p7525114413502">ModelArts.4103</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p3525204445016">Invalid Token header.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p195251344185019">The token is invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p1752512444509">The token request authentication information of <strong id="ocr_03_0028__b170610760575820">x-auth-token</strong> in the HTTP request header is incorrect. Check the sent request and token.</p>
</td>
</tr>
<tr id="ocr_03_0028__row20525154445016"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p45251944145019">ModelArts.4104</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p252554419507">Invalid Request Content Length.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p05258446504">The length of the request body is invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p352534415504">Check the request body length. The size cannot exceed 10 MB.</p>
</td>
</tr>
<tr id="ocr_03_0028__row105251449500"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p1952594425011">ModelArts.4105</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1752517443502">The JSON format of the input data is incorrect.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p45251844185020">The JSON format of the request body is incorrect.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p7525124415018">Check the JSON format of the request body.</p>
</td>
</tr>
<tr id="ocr_03_0028__row852615442506"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p1552634417509">ModelArts.4201</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1952664475018">Request url need service id.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p452684435018">The request URL does not contain the service ID.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p10526154415509">Check the service ID in the request URL.</p>
</td>
</tr>
<tr id="ocr_03_0028__row55261544175018"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p85261444175012">ModelArts.4202</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p652674418508">Request url format invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p3526124425010">The request URL format is invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p15269441500">Check the request URL format.</p>
</td>
</tr>
<tr id="ocr_03_0028__row14526114414504"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p952617442500">ModelArts.4203</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p752620446500">Access denied! You do not have permission.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p85261544105010">No access permission.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p252684415015">Check the access permission.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1352664418504"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p13526644185015">ModelArts.4204</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1552614417507">Request api error! The API XXX is not subscribed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p952610444507">Failed to request the service because the service has not been subscribed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><ul id="ocr_03_0028__ul252644418507"><li id="ocr_03_0028__li552654415014">Go to the OCR console, select an appropriate region, and subscribe to the API you need.</li><li id="ocr_03_0028__li55261844125017">If the service has been subscribed to, check whether the region (or account) where the service is subscribed to is the same as the region (or account) where the service is called. If they are the same, check whether the URL of the API is spelled correctly.</li></ul>
</td>
</tr>
<tr id="ocr_03_0028__row1352712442505"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p95271344195013">ModelArts.4301</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p185271444155019">Have error when get ai-service admin token.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p14527154485016">Failed to obtain the admin token of the service.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p252754445011">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1452710441502"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p3527204445019">ModelArts.4302</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p7527144419506">Gateway forwarding error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p155271442505">The serviced failed to be accessed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p1752713448509">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row16527124417506"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p35271144125013">ModelArts.4401</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p552744420501">Max concurrency error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p145272044185019">The number of concurrent requests exceeds the upper limit.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p18527204455015">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1252714412508"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p135271544185015">ModelArts.4402</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1252764475012">Backend service timeout error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p652794411506">Service processing timed out.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p115278447508">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row14527944115010"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p2527144125017">ModelArts.4403</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p752716449509">Backend service unavailable error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p1752884414502">The service is unavailable because it failed to respond or its failure rate is high.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p75281144155015">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1952854411509"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p75281444195016">ModelArts.4502</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p12528174416502">Backend service response error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p16528744115016">The service failed to respond.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p4528944145019">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row552854445013"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p252884410508">ModelArts.4503</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p145281344125017">Backend service found error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p13528144125013">The service does not exist.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p105281344105017">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1252817444501"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p552864465011">ModelArts.4504</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1528844165015">Backend service api not found.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p145289445506">The API to be accessed does not exist.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p25287445509">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1352854485020"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p10528154415018">ModelArts.4505</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1052819445503">Backend service internal error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p1152874425010">Internal server error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p19528544105017">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row135281044105015"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p19528044135010">ModelArts.4506</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1452824465017">SubService service found error.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p352920446508">The subservice corresponding to the API does not exist.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p13529124418507">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1952917448500"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p852910447504">ModelArts.4508</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1152944495020">Service not start.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p125296442508">The service does not exist or is stopped.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p16529144475011">Contact technical support.</p>
</td>
</tr>
<tr id="ocr_03_0028__row14529184435013"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p0529344145018">ModelArts.4601</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p1952914413506">The URL is not allowed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p125293447504">The external URL is invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p4529944205010">Check the format of the entered download address.</p>
</td>
</tr>
<tr id="ocr_03_0028__row12529194419504"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p12529124445019">ModelArts.4603</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p14529114455015">Obtaining the file from the URL failed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p10529844195012">Failed to download files from the external URL.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p10529544125011">Check the network and URL.</p>
</td>
</tr>
<tr id="ocr_03_0028__row1452916444509"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p16529164419505">ModelArts.4702</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p75291444115012">Query Obs agency failed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p195293442503">Failed to query the OBS agency.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p1652920441507">Check whether the OBS agency has been enabled for the service.</p>
</td>
</tr>
<tr id="ocr_03_0028__row65291444175014"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p2529164475015">ModelArts.4703</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p4529144135011">The Obs URL is invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p6529244185016">The OBS URL is invalid.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p2052964425016">Check the OBS URL.</p>
</td>
</tr>
<tr id="ocr_03_0028__row135291442501"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p14530114455019">ModelArts.4704</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p5530174411501">Obtaining the file from the OBS failed.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p19530124455017">The OBS file failed to be obtained.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p5530154485013">Check the OBS file.</p>
</td>
</tr>
<tr id="ocr_03_0028__row10530104418501"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p453034445017">ModelArts.4705</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p18530184419508">The file stored on the OBS is oversized.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p553044411501">The OBS file is oversized.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p7530744145012">Check the size of the OBS file and ensure that the file does not exceed the size limit.</p>
</td>
</tr>
<tr id="ocr_03_0028__row953084410509"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p453024465010">ModelArts.4706</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p4530044185015">The Obs file is not exist.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p2053094435011">The OBS file does not exist.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p753004420505">Check whether the corresponding file exists.</p>
</td>
</tr>
<tr id="ocr_03_0028__row4530144465013"><td class="cellrowborder" rowspan="4" valign="top" width="9.180000000000001%" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p75304448507">APIG</p>
</td>
<td class="cellrowborder" valign="top" width="15.310000000000002%" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p2530124435019">APIG.0101</p>
</td>
<td class="cellrowborder" valign="top" width="25.509999999999998%" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p17530144175020">The API does not exist or has not been published in the environment.</p>
</td>
<td class="cellrowborder" valign="top" width="22.45%" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p4530154435014">The API does not exist or has not been published.</p>
</td>
<td class="cellrowborder" valign="top" width="27.55%" headers="mcps1.3.3.2.1.6.1.5 "><ul id="ocr_03_0028__ul1353011443505"><li id="ocr_03_0028__li2530164435016">Check whether the API URL is correct. For example, check whether the project ID is included in the URL.</li><li id="ocr_03_0028__li553019444501">Check whether the region in the URI is the same as that configured for calling the service by referring to <a href="ocr_03_0062.html">Endpoint</a>.</li><li id="ocr_03_0028__li115311444205013">Check whether the HTTP request method (such as POST and GET) is correct.</li><li id="ocr_03_0028__li05317441509">For details about the URI, see the corresponding API page.</li></ul>
</td>
</tr>
<tr id="ocr_03_0028__row18531944125015"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p1853124455011">APIG.0201</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p195315449506">Backend timeout.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p19531144125017">Request timed out.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><ul id="ocr_03_0028__ul153114444506"><li id="ocr_03_0028__li135311344105015">Check whether the original API call requests are excessively frequent. If so, check the return value in the code and resend the requests later (for example, 2 to 5 seconds later). You can also check whether the result of the previous request is returned at the backend. After the result of the previous request is returned, send the next request.</li><li id="ocr_03_0028__li15531174445012">Check whether the image is too large or the network delay is too long. If the image is too large, compress the image in proportion while ensuring the image definition. If the network delay is long, you can increase the network transmission speed.</li></ul>
</td>
</tr>
<tr id="ocr_03_0028__row953110441507"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p11531114416501">APIG.0301</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p15311544115016">Incorrect IAM authentication information.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p45311844145017">The IAM authentication information is incorrect.</p>
<ul id="ocr_03_0028__ul105311844115013"><li id="ocr_03_0028__li19531154418508"><strong id="ocr_03_0028__b125581511775820">decrypt token fail</strong>: The token fails to be parsed.</li><li id="ocr_03_0028__li1653184475018"><strong id="ocr_03_0028__b62134345575820">token expires</strong>: The token has expired.</li><li id="ocr_03_0028__li175311944195017"><strong id="ocr_03_0028__b196673017975820">x-auth-token not found</strong>: The <strong id="ocr_03_0028__b77602417975820">x-auth-token</strong> parameter is not found.</li></ul>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><ul id="ocr_03_0028__ul18531144405015"><li id="ocr_03_0028__li85312442501">If the token fails to be parsed, check the method for obtaining the token, whether the request body is correct, whether the token is correct, and whether the environment for obtaining the token is the same as the environment for calling the token.</li><li id="ocr_03_0028__li25313440508">If the token expires, obtain a new token that is valid permanently.</li><li id="ocr_03_0028__li25321144185016">Check whether the spelling of <strong id="ocr_03_0028__b150606634475820">X-Auth-Token</strong> in the request header is correct.</li></ul>
</td>
</tr>
<tr id="ocr_03_0028__row453214449502"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p45324446508">APIG.0308</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.2 "><p id="ocr_03_0028__p20532104417507">The throttling threshold has been reached: policy user over ratelimit,limit:XX,time:1 minute.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.3 "><p id="ocr_03_0028__p2532134435014">The request exceeds the default rate limit of the service.</p>
</td>
<td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.4 "><p id="ocr_03_0028__p3573131912213">Rectify the fault using either of the following methods:</p>
<ul id="ocr_03_0028__ul20614125419358"><li id="ocr_03_0028__li56141254193518">Use the retry mechanism to rectify the fault by checking the return value in the code and retrying the requests after a short period of time (for example, 2 to 5 seconds).</li><li id="ocr_03_0028__li136152054153511">You can also check whether the result of the previous request is returned at the backend. After the result of the previous request is returned, send the next request.</li></ul>
</td>
</tr>
<tr id="ocr_03_0028__row11532154415014"><td class="cellrowborder" valign="top" headers="mcps1.3.3.2.1.6.1.1 "><p id="ocr_03_0028__p12532844165014">Other</p>
</td>
<td class="cellrowborder" colspan="4" valign="top" headers="mcps1.3.3.2.1.6.1.2 mcps1.3.3.2.1.6.1.3 mcps1.3.3.2.1.6.1.4 mcps1.3.3.2.1.6.1.5 "><p id="ocr_03_0028__p1053254405016">If other error codes cannot be rectified, contact technical support.</p>
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ocr_03_0048.html">Common Parameters</a></div>
</div>
</div>