Help Center> Optical Character Recognition> FAQs> Error Code> How Do I Handle the Error ModelArts.4204?
Updated on 2024-05-11 GMT+08:00

How Do I Handle the Error ModelArts.4204?

If "error_code":"ModelArts.4204" and "error_msg":"Request api error! The API XXX is not subscribed." are displayed when you call an API, you have not subscribed to the API.

Figure 1 Subscribing to an OCR API

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.

Figure 2 Checking region information
Figure 3 Checking account information

Error Code FAQs

more