Help Center/ ImageSearch/ FAQs/ Error Code FAQs/ What Should I Do If Error Code "ModelArts.4204" Is Displayed During Service Calling?
Updated on 2022-02-22 GMT+08:00

What Should I Do If Error Code "ModelArts.4204" Is Displayed During Service Calling?

If an error occurs during API calling, the error code and error information in the returned message body are as follows:
{
    "error_code":"ModelArts.4204",
    "error_msg":"Request api error! The API is not subscribed."
}

You have not subscribed to Image Search in this region. Enable Image Search before using it.

For details about other error codes and error information, see Error Codes. If you cannot find the error cause, contact HUAWEI CLOUD customer service and provide the error code to help you rectify the fault as soon as possible.