更新时间:2024-01-04 GMT+08:00

错误码

当您调用API时,如果遇到“APIGW”开头的错误码,请参见API网关错误码进行处理。

状态码

错误码

错误信息

描述

处理措施

400

LTS.0007

The request body format must be json.

请求体不是JSON格式。

请修改请求体为JSON格式后进行重试。

400

LTS.0101

Failed to create log group, the group name has been existed

创建日志组失败,日志组名称已存在

核对日志组名称,此日志组名称已存在。

400

LTS.0104

LTS.0104Failed to create log group, the number of log groups exceeds the quota

创建日志组失败,日志组数目超出限额

查看日志组数量是否已经达到配额(默认个数100)。

400

LTS.0105

Log group is associated by transfer

删除日志组失败,日志组存在关联转储配置

确认此组相关联的转储配置。

400

LTS.0106

The log group TTL day must be integer and between 1 and 30

日志存储时间必须在1到30之间。

请修改日志存储时间为1-30之间。

400

LTS.0205

The log stream name has been existed

创建日志流失败,日志流名称已存在

确认创建日志流的名称是否存在。

400

LTS.0206

Failed to create log stream, the number of Log streams exceeds the quota

创建日志流失败,单个日志组的日志流数目超出限额

查看单个日志组的日志流数量是否已经达到配额(默认个数100)。

400

LTS.0207

Log stream is associated by transfer

删除日志流失败,日志流存在关联转储配置

确认此日志流是否配置转储,若已配置则日志流无法删除。

400

LTS.0416

obs bucket does not exist

该obs桶不存在

请先创建obs桶。

400

LTS.0701

end_time must be superior to start_time, and line_num must be between them if it's provided

时间的参数必须满足: start_time<line_num<end_time

请修改参数以满足: 时间的参数必须满足: start_time<line_num<end_time。

400

LTS.1901

field is not in the list

某个参数不在指定的list中

请根据error_msg修改对应的参数。

400

LTS.1902

name is invalid

某个参数不符合要求

请根据error_msg修改对应的参数。

400

LTS.1903

limit must be between lower boundary and upper boundary

limit的大小不在要求范围内

请将limit参数设置在1-5000之间。

401

LTS.0001

Invalid projectId

无效的 projectId

请确认你的uri中的projectId与token中的projectId一致。

401

LTS.0003

Incorrect IAM authentication information: decrypt token fail

无效的token

请重新获取token。

401

LTS.0023

Current user is suspended or restricted or unverified.

当前用户未进行实名认证,已被冻结或受限

请确认已进行实名认证, 该账户未欠费也未被冻结。

403

LTS.0018

Current user does not have the permission to operate obs

当前用户没有操作该obs桶的权限

请获取操作该obs桶的权限后进行重试

500

LTS.0010

Internal Server Error

内部服务器错误

LTS服务内部异常,此时请联系技术支持工程师处理。

500

LTS.0102

Failed to create log group.

创建日志组失败

核对projectID是否正确,日志组名称是否满足要求。

500

LTS.0103

Failed to delete log group

删除日志组失败

查看数据库服务是否正常或网络连接是否正常。

500

LTS.0202

Failed to create log stream

创建日志流失败

核对projectID是否正确,groupID是否正确,日志流名称是否满足要求。

500

LTS.0203

Failed to delete log stream

删除日志流失败

查看数据库服务是否正常或网络连接是否正常。

400

LTS.0009

Failed to validate the request body.

参数校验失败。

请根据请求返回的错误信息修改请求参数后重试。

400

LTS.0010

The system encountered an internal error

系统内部错误

LTS服务内部异常,此时请联系技术支持工程师处理。

400

LTS.0201

The log group is not existed

创建日志流失败,日志组不存在

核对groupID是否存在。

400

LTS.0208

Log stream is associated by transfer

日志流不存在

请确认要删除的日志流是否存在

400

LTS.0301

'*' and '?' not allowed as first character

*和?放在关键字中间或末尾

请根据错误信息检查Keywords字段。

400

LTS.2001

Failed to create alarm rule

创建错误

核对projectId是否正常。

400

LTS.2002

Failed to delete alarm rule

删除错误

查看数据库服务是否正常或网络连接是否正常。

400

LTS.2003

Failed to update alarm rule

修改错误

连接数据库异常,检查数据库实例状态

400

LTS.2004

The size of alarm rule has exceed the limit: 200

告警规则条数不能大于200条

请删除原有告警规则。

400

LTS.2005

The parameter is incorrect

参数有误

根据返回错误信息检查参数。

400

LTS.2006

Alarm rule name has already exist

告警规则名称存在

请检查告警规则名称是否存在。

400

LTS.2007

Alarm rule not exist

告警规则不存在

请检查告警规则是否存在。

400

LTS.2008

Find Alarm rule failed

告警规则查询失败

查看数据库服务是否正常或网络连接是否正常。

400

LTS.2009

User must have SMN service authority

用户必须拥有SMN服务权限

查看用户是否拥有SMN服务权限。

400

LTS.2010

Topics cannot be empty

SMN主题不能为空

请检查主题是否为空。

400

LTS.2011

Alarm rule invalid query frequency or invalid cron expression

统计周期超限或cron表达式错误

请检查统计周期或cron表达式。

400

LTS.2012

The query time range cannot be larger than 1 hour when the query frequency is less than every 5 minutes.

统计周期小于5分钟时,查询时间范围不能大于1小时

请检查统计周期与查询范围。

400

LTS.2013

Send Subject Error

发送SMN主题错误

请根据错误信息检查主题。

403

LTS.0011

Invalid projectId

非法的projectId

请确认URL中的projectId与token中的projectId一致

500

LTS.0107

Current user does not have the permission to operate this group

更新日志组失败

连接数据库异常,检查数据库实例状态