Updated on 2026-02-26 GMT+08:00

Error Codes

The table below shows the error codes you might see when calling a MaaS API.

Table 1 Error codes

HTTP Status Code

Error Code

Error Message

Description

400

ModelArts.0104

CreateCustomEndpointReq.endpoint_name is a required field

The custom endpoint name is mandatory.

400

ModelArts.6271

Custom endpoint name has already been used (including deleted access points). To ensure billing uniqueness, please use a different name.

The custom endpoint name has been used (including deleted endpoints). To ensure the uniqueness of the bill, use a different name.

400

ModelArts.6274

Custom endpoint name is invalid. Enter 1 to 64 characters, staring with a letter. Only letters, digits, point(.), underscores (_), and hyphens (-) are allowed

The name of the custom endpoint is invalid. Enter 1 to 64 characters. Only letters, digits, underscores (_), hyphens (-), and periods (.) are allowed.

400

ModelArts.6291

CustomEndpointNotFound

The custom endpoint does not exist.

400

ModelArts.6297

Custom endpoint number exceed quota

The number of custom endpoints exceeds the quota.

400

ModelArts.6299

Custom endpoint id is required

The custom endpoint ID is missing.

400

ModelArts.6613

Operation failed. The online service status needs to have the 'Mount to MAAS Gateway' switch turned on or the authentication method set to 'No Authentication' in order to create a custom custom endpoint.

Operation failed. You can create a custom endpoint only when MaaS gateway mounting is enabled or the authentication type is no authentication.

401

ModelArts.8503

No permission to create modelarts custom endpoints

You do not have the permission to create a custom endpoint for ModelArts real-time services.