Error Codes
When you call MaaS general APIs (Endpoint, MaaS Call Statistics, and Querying ModelArts Real-Time Services) or model APIs, API errors may occur. To help you quickly locate the fault, see Table 1 for general APIs.
| HTTP Status Code | Error Code | Error Message | Description | Handling |
|---|---|---|---|---|
| 400 | ModelArts.0104 | Parameter %s value is invalid. The value of parameter %s is incorrect. | Failed to verify the description or tag parameter. | Modify the input parameter. |
| 400 | ModelArts.0104 | Invalid parameter, error: ip whitelist number can not be more than 100. Invalid parameter. The number of IP addresses in the whitelist cannot exceed 100. | The number of IP addresses in the whitelist exceeds 100. | Reduce the number of IP addresses in the whitelist to less than 100. |
| 400 | ModelArts.6692 | The number of APIKEYs has reached the limit (%d). Maximum number of API keys reached (%d). | The number of API keys exceeds the upper limit. | Delete some API keys and try again. |
| 400 | ModelArts.6691 | An APIKEY with the same name already exists within the same tenant. An API key with the same name already exists under the same tenant. | Duplicate tag. | Modify the tag and try again. |
| 400 | ModelArts.0104 | The API key does not exist or is invalid. | The specified API key ID does not exist. | Check whether the API key ID is correct. |
| 400 | ModelArts.0104 | IP whitelist format error, please check, ip: %s. Incorrect IP address whitelist format. Check the following data: %s. | The IP address whitelist contains invalid IPv4 addresses. | Check the IP address whitelist format and confirm every entry is a valid IPv4 address. |
| 400 | ModelArts.0104 | Invalid parameter, error: duplicate ip: %s, please check. Invalid parameter. Duplicate IP address: %s. Check the parameter. | The IP address whitelist contains duplicate IP addresses. | Remove duplicate IP addresses. |
| 400 | ModelArts.0104 | Invalid parameter, error: invalid CIDR format, ip: %s. Invalid parameter. The mask of the IP address in CIDR format is invalid. IP address: %s | The mask of the IP address in CIDR format is invalid. | Check whether the CIDR format and mask are correct. |
| 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. 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 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. |
What is your overall rating for this page?
Thank 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