doc-exports/docs/ocr/umn/ocr_01_0064.html
Sheng, Lichang 86871abfe4 OCR usermanual 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:42:31 +00:00

19 lines
2.4 KiB
HTML

<a name="ocr_01_0064"></a><a name="ocr_01_0064"></a>
<h1 class="topictitle1">How Do I Handle the Error ModelArts.4603 or ModelArts.4704?</h1>
<div id="body0000001705153390"><div class="section" id="ocr_01_0064__section16304258194817"><h4 class="sectiontitle">"error_code":"ModelArts.4603","error_msg":"Obtaining the file from the URL failed."</h4><p id="ocr_01_0064__p491233214497">If "error_code":"ModelArts.4603","error_msg":"Obtaining the file from the URL failed." is displayed, it indicates that the image file fails to be obtained from the URL. To locate the fault, follow these steps:</p>
<p id="ocr_01_0064__p9898152013491">(1) Make sure that the provided URL supports the HTTP/HTTPS request protocol, which should be in the format of <strong id="ocr_01_0064__b14984201154513">http/https </strong><em id="ocr_01_0064__i1197618412459">URL</em>.</p>
<p id="ocr_01_0064__p56872434911">(2) Check if the server where the images are stored is stable and reliable, if the network connection is normal, and if it is publicly accessible.</p>
<p id="ocr_01_0064__p74409172498">(3) Check if the content-type of the downloaded images is a standard type, such as <strong id="ocr_01_0064__b249374415463">image/gif</strong>, <strong id="ocr_01_0064__b5498104820469">image/jpeg</strong>, <strong id="ocr_01_0064__b2474125394611">image/png</strong>, <strong id="ocr_01_0064__b1897515717461">image/tiff</strong>. It is recommended to use OBS URL for the request.</p>
</div>
<div class="section" id="ocr_01_0064__section18751185915493"><h4 class="sectiontitle">"error_code":"ModelArts.4704","error_msg":"Obtaining the file from the OBS failed."</h4><p id="ocr_01_0064__p089442295017">If ""error_code":"ModelArts.4704","error_msg":"Obtaining the file from the OBS failed."" is displayed, it means that the image data fails to be obtained from OBS. Make sure that the OBS path where the images are stored exists and is accessible. If the path exists, make sure that the OBS bucket policy is set to public. </p>
<p id="ocr_01_0064__p139260715502">It is recommended not to use OBS paths across regions. If OBS and the deployment region of the service to be called are not in the same region, it is suggested to download the images locally and call the service using the image method.</p>
</div>
</div>
<div>
<div class="familylinks">
<div class="parentlink"><strong>Parent topic:</strong> <a href="ocr_01_0076.html">Error Codes</a></div>
</div>
</div>