Help Center> Optical Character Recognition> FAQs> Error Code> How Do I Handle the Error ModelArts.0212?
Updated on 2023-10-26 GMT+08:00

How Do I Handle the Error ModelArts.0212?

If error message "Invalid Token header. The Token not contain project item." and error code "ModelArts.0212" are displayed when you call an OCR API, the token is invalid because the project information is missing.

OCR is a project-level service. When calling the API for obtaining a token, you need to set scope to project. For example, if you have obtained the token of the AP-Bangkok region, set scope to ap-southeast-2.

Error Code FAQs

more