Error Codes
The table below shows the error codes you might see when calling a MaaS API.
| HTTP Status Code | Error Code | Error Message | Description | Handling |
|---|---|---|---|---|
| 400 | ModelArts.0104 | CreateCustomEndpointReq.endpoint_name is a required field | The custom endpoint name is mandatory. | Check whether the custom endpoint name is specified. |
| 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. | Check whether the endpoint name has been used. If yes, use a different one. |
| 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. | Check the format of the custom endpoint name. |
| 400 | ModelArts.6291 | CustomEndpointNotFound | The custom endpoint does not exist. | Check whether the custom endpoint has been created. |
| 400 | ModelArts.6297 | Custom endpoint number exceed quota | The number of custom endpoints exceeds the quota. | Delete unnecessary custom endpoints and try again. |
| 400 | ModelArts.6299 | Custom endpoint id is required | The custom endpoint ID is missing. | Check whether the custom endpoint ID is correct. |
| 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. | Check whether the account permission meets the requirements. |
| 400 | ModelArts.2115 | Invalid JSON request body | Invalid JSON request body. | The invalid request body has been modified based on the error message. |
| 400 | ModelArts.6298 | Parameter (%s) security check failed, please check for special characters. | Security check for parameter (%s) failed. Check for special characters. | Check whether your parameters contain insecure characters. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot