How Do I Handle the Error ModelArts.4603 or ModelArts.4704?
There are two possibilities to check:
- If error message "Obtaining the file from the URL failed." and error code "ModelArts.4603" are displayed, the image data fails to be obtained from the URL.
The URL supports the HTTP/HTTPS request protocol. The format should be http/https url.
The server for storing images is stable and reliable, the network connection is normal, and if the server is accessible to the Internet.
The content type of the image to be downloaded complies with the content-type format in the HTTP or HTTPS header, for example, image/gif, image/jpeg, image/png, or image/tiff (Suggestion: Use the URL of OBS).
- If error message "Obtaining the file from the OBS failed." and error code "ModelArts.4704" are displayed, the image data fails to be obtained from OBS.
The OBS path for storing images exists and is accessible. If the path exists, ensure that the OBS bucket for storing images is a public bucket.
Do not use an OBS path across regions.
OBS and the region where the service to be called is deployed are not in the same region. If they are in different regions, download the image to a local host and then call the service using the image method.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot