Error Codes¶
Function Description¶
If the returned status code of a TMS API is 400, the customized error information will also be returned. This section describes the meaning of each TMS error code.
Response Format¶
STATUS CODE 400
{
"error_code": "TMS.0009",
"error_msg": "Key is invalid."
}
Error Code Description¶
Status Code | Error Code | Error Message | Description | Solution |
---|---|---|---|---|
500 | TMS.0001 | System error. | System error. | Contact technical support. |
400 | TMS.0002 | Bad request. | Invalid request from the client. | Enter valid parameters. |
401 | TMS.0003 | The user is unauthorized. | Authentication fails or the valid authentication information is not provided. | Check whether the username or password for obtaining the token is correct. |
403 | TMS.0004 | You do not have permissions to perform the operation. | The authentication information is incorrect or the service invoker does not have sufficient permissions. | Check whether the username, password, or the user permissions for obtaining the token are correct. |
404 | TMS.0005 | The resources requested cannot be found. | The requested resource cannot be found. | Enter a valid resource ID. |
403 | TMS.0006 | The request is Too much, try again later. | The numbers of requests are too many. | Reduce the number of concurrent requests or try again later. |
400 | TMS.0007 | Limit is invalid. | Limit is invalid. | Enter a valid Limit value. |
400 | TMS.0008 | Marker is invalid. | Marker is invalid. | Enter a valid Marker value. |
400 | TMS.0009 | Key is invalid. | Key is invalid. | Enter a valid Key value. |
400 | TMS.0010 | Value is invalid. | Value is invalid. | Enter a valid Value value. |
400 | TMS.0011 | Action is invalid. | Action is invalid. | Enter a valid Action value. |
400 | TMS.0012 | Tags is empty. | Tags is left blank. | Specify Tags. |
400 | TMS.0013 | Empty element in Tags. | Tags is invalid. | Enter a valid Tags value. |
400 | TMS.0014 | Values is empty. | Values is invalid. | Enter a valid Values value. |
400 | TMS.0016 | Values is too much. | The maximum number of values for Values has been exceeded. | Enter no more than 10 values. |
400 | TMS.0017 | Offset is invalid. | Offset is invalid. | Enter a valid Offset value. |
504 | TMS.0018 | Query Time Out. | Query timed out. | Try again later. |
400 | TMS.1001 | The number of predefine tag exceeds the upper limit. | The number of predefined tags exceeds the quota. | Enter no more than 500 predefined tags. |
400 | TMS.1002 | Old_tag cannot be found. | Old_tag cannot be found. | Specify Old_tag. |
400 | TMS.1003 | New_tag already exists. | New_tag already exists. | Enter another value for New-tag. |
400 | TMS.1004 | Old_tag is empty. | Old_tag is left blank. | Specify Old_tag. |
400 | TMS.1005 | Invalid key in Old_tag. | The key in Old_tag is invalid. | Enter a valid key in Old_tag. |
400 | TMS.1006 | Invalid value in Old_tag. | The value in Old_tag is invalid. | Enter a valid value in Old_tag. |
400 | TMS.1007 | New_tag is empty. | New_tag is left blank. | Specify New_tag. |
400 | TMS.1008 | Invalid key in New_tag. | The key in New_tag is invalid. | Enter a valid key in New_tag. |
400 | TMS.1009 | Invalid value in New_tag. | The value in New_tag is invalid. | Enter a valid value in New_tag. |
400 | TMS.1010 | Order_field is invalid. | Order_field is invalid. | Enter a valid Order_field value. |
400 | TMS.1011 | Order_method is invalid. | Order_method is invalid. | Enter a valid Order_method value. |