Help Center> Optical Character Recognition> FAQ> Error Code> Why Is an Error Message with Error Code "ModelArts.4204" Displayed When an API Is Called?

Why Is an Error Message with Error Code "ModelArts.4204" Displayed When an API Is Called?

If error message "Request api error! Have not subscribed this api" and error code "ModelArts.4204" are displayed when an API is called, the service you attempt to call is not enabled. In this case, enable the service by referring to Applying for a Service.

If the service has been enabled, check whether the region (or account) where the service is enabled 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.