Error Codes
Introduction
This section explains the meanings of error codes returned by LTS APIs.
Response Format
{
"error_msg":"Current user is not authenticated correctly, check your token.",
"error_code":"LTS.0002"
}
Error Code Description
Status Code |
Error Code |
Error Message |
Description |
Solution |
---|---|---|---|---|
400 |
LTS.0007 |
The request body format must be json |
The request body is not in JSON format. |
Modify the request body to the JSON format and try again. |
400 |
LTS.0009 |
Failed to validate the request body |
Parameter verification failed. |
Modify request parameters based on the returned error information and try again. |
400 |
LTS.0010 |
The system encountered an internal error |
An internal error occurred. |
Contact the administrator. |
400 |
LTS.0101 |
Failed to create log group, the group name has been existed |
Failed to create the log group because a log group with the same name already exists. |
Check the log group name. |
400 |
LTS.0104 |
Failed to create log group, the number of log groups exceeds the quota |
Failed to create the log group because the maximum number of log groups allowed has been reached. |
Check whether the number of log groups has reached the quota (100 by default). |
400 |
LTS.0105 |
Log group is associated by transfer |
Failed to delete the log group because the log group has been associated with log transfer tasks. |
Delete the associated log transfer tasks first. |
400 |
LTS.0106 |
The log group TTL day must be 7 |
The log retention duration is seven days by default. |
Ensure that the log retention duration is seven days. |
400 |
LTS.0201 |
The log group is not existed |
Failed to create the log stream because the associated log group does not exist. |
Check whether the ID of the log group is correct. |
400 |
LTS.0205 |
The log stream name has been existed |
Failed to create the log stream because a log stream with the same name already exists. |
Check the log stream name. |
400 |
LTS.0206 |
Failed to create log stream, the number of Log streams exceeds the quota |
Failed to create the log stream because the maximum number of log streams allowed has been reached. |
Check whether the number of log streams in the log group has reached the quota (100 by default). |
400 |
LTS.0207 |
Log stream is associated by transfer |
Failed to delete the log stream because the log stream has been associated with log transfer tasks. |
Check whether the log stream is associated with a log transfer task. A log stream associated with a log transfer task cannot be deleted. |
400 |
LTS.0208 |
The log stream does not existed |
The log stream does not exist. |
Check whether the log stream to be deleted exists. |
400 |
LTS.0416 |
obs bucket does not exist |
The OBS bucket does not exist. |
Create an OBS bucket first. |
400 |
LTS.0701 |
end_time must be superior to start_time, and line_num must be between them if it's provided |
The values of time parameters must meet the following requirements: start_time < line_num < end_time |
Modify the parameter values to meet the requirements. |
400 |
LTS.1901 |
field is not in the list |
A parameter is not in the specified list. |
Modify the parameter based on the description in error_msg. |
400 |
LTS.1902 |
name is invalid |
A parameter is invalid. |
Modify the parameter based on the description in error_msg. |
400 |
LTS.1903 |
limit must be between lower boundary and upper boundary |
The value of limit is not in the range allowed. |
Set limit to a value ranging from 1 to 5000. |
400 |
LTS.0301 |
'*' and '?' not allowed as first character |
Asterisks (*) and question marks (?) are placed in the middle or at the end of a keyword. |
Check the keywords field based on the error information. |
401 |
LTS.0001 |
Invalid projectId |
Invalid project ID. |
Ensure that the project ID in the URI is the same as that in the token. |
401 |
LTS.0023 |
Current user is suspended or restricted or unverified. |
Your account has not completed the real-name authentication, or has been frozen or restricted. |
Ensure that your account has completed the real-name authentication, and is not in arrears or frozen. |
401 |
LTS.0003 |
Incorrect IAM authentication information: decrypt token fail |
Invalid token. |
Obtain a token again. |
403 |
LTS.0001 |
Invalid projectId |
Invalid ID. |
Obtain the ID again. |
403 |
LTS.0018 |
Current user does not have the permission to operate obs |
You do not have the permissions required to perform operations on the OBS bucket. |
Obtain the permissions required and try again. |
403 |
LTS.0011 |
Invalid projectId |
Invalid project ID. |
Ensure that the project ID in the URL is the same as that in the token. |
500 |
LTS.0010 |
Internal Server Error |
Internal server error. |
Contact the administrator. |
500 |
LTS.0102 |
Failed to create log group |
Failed to create the log group. |
Check whether the project ID is correct and whether the log group name meets the requirements. |
500 |
LTS.0103 |
Failed to delete log group |
Failed to delete the log group. |
Check whether the database or network connection is normal. |
500 |
LTS.0107 |
Current user does not have the permission to operate this group |
Failed to update the log group. |
Abnormal connection to the database. Check the database instance status. |
500 |
LTS.0202 |
Failed to create log stream |
Failed to create the log stream. |
Check whether the project ID and group ID are correct and whether the log stream name meets the requirements. |
500 |
LTS.0203 |
Failed to delete log stream |
Failed to delete the log stream. |
Check whether the database or network connection is normal. |
500 |
LTS.2125 |
Failed to create a host group. |
Failed to create a host group. |
The number of host groups has reached the upper limit. Delete unnecessary ones and try again. |
500 |
LTS.0744 |
The rule name can contain only letters, digits, underscores (_), hyphens (-), and periods (.). |
The rule name can contain only letters, digits, underscores (_), hyphens (-), and periods (.). |
Check the rule name and try again. |
400 |
LTS.1808 |
Invalid host status |
Invalid host status. |
Check whether the host is working or whether the network connection is normal. |
400 |
LTS.1811 |
Invalid host name |
Invalid host name. |
Confirm the host name and enter a correct one. |
400 |
LTS.1807 |
Invalid host id |
Invalid host ID. |
Confirm the host ID and enter a correct one. |
400 |
LTS.1813 |
Invalid host group type |
Invalid host group type. |
Confirm the host group type and enter a correct one. |
400 |
LTS.1814 |
Invalid host group name |
Invalid host group name. |
Confirm the host group name and enter a correct one. |
400 |
LTS.1602 |
Failed to create search criteria, the number of search criteria exceeds the quota |
Failed to create search criteria. The search criteria exceed the quota. |
Delete invalid or expired search criteria and create a new one. |
400 |
LTS.1606 |
Search criteria record not existed |
The search criteria record does not exist. |
Check whether the search criteria are correct. |
400 |
LTS.1812 |
Invalid host group id |
Invalid host group ID. |
Enter a correct host group ID. |
400 |
LTS.1818 |
Invalid host group tag type |
Invalid host group tag type. |
Enter a correct host group tag type. |
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