Reviewed-by: Hasko, Vladimir <vladimir.hasko@t-systems.com> Co-authored-by: zhangyue <zhangyue164@huawei.com> Co-committed-by: zhangyue <zhangyue164@huawei.com>
26 KiB
Error Code Description
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
Module |
HTTP Status Code |
Error Code |
Description |
Error Message |
Measure |
---|---|---|---|---|---|
Public |
500 |
TMS.0001 |
System error |
System error. |
Contact technical support. |
400 |
TMS.0002 |
Invalid request from the client |
Bad request. |
Enter correct parameters. |
|
401 |
TMS.0003 |
Authentication fails or the valid authentication information is not provided. |
The user is unauthorized. |
Check whether the username or password for obtaining the token is correct. |
|
403 |
TMS.0004 |
The authentication information is incorrect or the service invoker does not have sufficient permissions. |
You do not have permissions to perform the operation. |
Check whether the username, password, or the user permissions for obtaining the token are correct. |
|
404 |
TMS.0005 |
The requested resource cannot be found. |
The resources requested cannot be found. |
Provide a correct resource ID. |
|
403 |
TMS.0006 |
The numbers of requests are too many. |
The request is Too much, try again later. |
Reduce the number of concurrent requests or wait for a retry. |
|
400 |
TMS.0007 |
Limit is invalid. |
Limit is invalid. |
Enter a correct Limit value. |
|
400 |
TMS.0008 |
Marker is invalid. |
Marker is invalid. |
Enter a correct Marker value. |
|
400 |
TMS.0009 |
Key is invalid. |
Key is invalid. |
Enter a correct Key value. |
|
400 |
TMS.0010 |
Value is invalid. |
Value is invalid. |
Enter a correct Value value. |
|
400 |
TMS.0011 |
Action is invalid. |
Action is invalid. |
Enter a correct Action value. |
|
400 |
TMS.0012 |
Tags is an empty array. |
Tags is empty. |
Enter a correct Tags value. |
|
400 |
TMS.0013 |
Elements in Tags are empty. |
Empty element in Tags. |
Enter a correct Tags value. |
|
400 |
TMS.0014 |
Values is invalid. |
Values is empty. |
Enter a correct Values value. |
|
Predefine dtag |
400 |
TMS.1001 |
The number of predefined tags exceeds the quota. |
The number of predefine tag exceeds the upper limit. |
Reduce the number of predefined tags. |
400 |
TMS.1002 |
Old_tag cannot be found. |
Old_tag cannot be found. |
Check parameter Old_tag. |
|
400 |
TMS.1003 |
New_tag already exists. |
New_tag already exists. |
Check parameter New-tag. |
|
400 |
TMS.1004 |
Old_tag is empty. |
Old_tag is empty. |
Ensure that parameter Old_tag is not empty. |
|
400 |
TMS.1005 |
The key in Old_tag is invalid. |
Invalid key in Old_tag. |
Check whether the key in Old_tag is valid. |
|
400 |
TMS.1006 |
The value in Old_tag is invalid. |
Invalid value in Old_tag. |
Check whether the value in Old_tag is valid. |
|
400 |
TMS.1007 |
New_tag is empty. |
New_tag is empty. |
Ensure that parameter New_tag is not empty. |
|
400 |
TMS.1008 |
The key in New_tag is invalid. |
Invalid key in New_tag. |
Check whether the key in New_tag is valid. |
|
400 |
TMS.1009 |
The value in New_tag is invalid. |
Invalid value in New_tag. |
Check whether the value in New_tag is valid. |
|
400 |
TMS.1010 |
Order_field is invalid. |
Order_field is invalid. |
Check whether parameter Order_field is valid. |
|
400 |
TMS.1011 |
Order_method is invalid. |
Order_method is invalid. |
Check whether parameter Order_method is valid. |