Help Center/ ModelArts/ Troubleshooting/ Inference Deployment (New Version)/ Service Prediction/ Error ModelArts.020X Occurred in Real-Time Service Prediction
Updated on 2026-11-10 GMT+08:00

Error ModelArts.020X Occurred in Real-Time Service Prediction

The token in the request is incorrect. As a result, the request is intercepted.

Common errors are as follows:

ModelArts.0201 No Token Contained

The request header lacks the IAM token. Verify that the x-auth-token is properly configured in the header.

For details about how to obtain a user token, see Token-based Authentication. The real-time service APIs generated by ModelArts do not support tokens whose scope is domain. Therefore, you need to obtain the token whose scope is project.

ModelArts.0203 Invalid Token

The token's user details in the request header do not match the service owner's information. Therefore, the user lacks permission to access the API.

For details about how to obtain a user token, see Token-based Authentication. The real-time service APIs generated by ModelArts do not support tokens whose scope is domain. Therefore, you need to obtain the token whose scope is project.

ModelArts.0204 Failed to Parse the Token

The token format in the request header is wrong. The service cannot parse it. Verify if the entered token matches the one you obtained.

For details about how to obtain a user token, see Token-based Authentication. The real-time service APIs generated by ModelArts do not support tokens whose scope is domain. Therefore, you need to obtain the token whose scope is project.