数据工坊 DWR-错误码:错误码说明

时间:2025-06-19 20:50:40

错误码说明

表1 错误码

状态码

错误码

错误信息

描述

处理措施

500

LMS.00001001

ErrInvalidParameter: The input parameter is incorrect

请求参数非法

根据返回的错误消息体提示进行修改

500

LMS.00001002

errInvalidParameterFormat: Request is not json format or missing required parameters

请求参数格式非法

检查json格式

500

LMS.00001003

ErrMissingRequiredParameters: Missing required parameters

缺少必要的参数

参考API文档,填写必要参数

500

LMS.00001004

please check the primary key and its' type can only in [int, string]

主键不是int和string类型

检查主键数据类型,必须是int或者string类型

500

LMS.00001024

ErrBadRequest: The request is invalid

非法请求

联系技术支持

500

LMS.00002001

ErrStoreNotFound: Store not found

store不存在

创建1个store实例

500

LMS.00002002

ErrCollectionNotFound: Collection or Store not found

collection或者store不存在

检查store或者collection名称,输入正确的名称

500

LMS.00002003

ErrCollectionNotLoaded: collection not loaded

collection还未加载

执行加载collection的命令

500

LMS.00002004

ErrCollectionNotFullyLoaded: collection not fully loaded

collection还没有加载完成

等待collection加载完成

500

LMS.00002005

ErrStoreAlreadyExist: Store already exists

store已经存在

更换store名称

500

LMS.00002006

ErrMarshalCollectionSchema: Illegal collection schema

非法的collection schema

参考API文档,填写正确的schema

500

LMS.00002007

ErrCollectionAlreadyExist: Collection already exists

Collection已经存在

更换collection名称

500

LMS.00003001

ErrIndexNotFound: Index not found

索引不存在

创建索引

500

LMS.00003002

ErrIndexTypeNotSupported: Index type not supported

不支持的索引类型

参考文档,填写支持的索引类型

500

LMS.00003003

ErrIndexDuplicates: Index duplicates

重复的索引

选择未创建索引的列,再次创建索引

500

LMS.00003004

ErrIllegalNlist: Illegal nlist

非法的nlist值

参考文档中nlist取值范围,重新填写nlist值

500

LMS.00003005

ErrIllegalMetricType: Illegal metric type

非法的metric type值

参考文档中metric type取值范围,重新填写metric type值

500

LMS.00004008

ErrInvalidInsertData: Fail to deal the insert data

处理插入数据失败

联系技术支持

500

LMS.00004009

ErrInvalidDeleteData: Fail to deal the delete data

处理删除数据失败

联系技术支持

500

LMS.00004014

ErrDimensionMismatch: Vector dimension mismatch

向量维度不匹配

检查向量列的维度值

500

LMS.00004015

ErrInvalidFilter: Invalid filter expression

非法的过滤表达式

纠正过滤表达式

500

LMS.00004016

ErrInvalidUpsertData: Fail to deal the upsert data

处理upsert数据失败

联系技术支持

500

LMS.00004017

ErrInvalidSearchResult: Fail to parse search result

解析搜索结果失败

联系技术支持

400

LMS.00006001

AccessDenied: The authentication information is invalid

拒绝访问,签名错误或者头域格式错误

请检查签名正确性

400

LMS.00006002

InvalidRequestUri: The request URL is invalid

请求地址错误

检查请求路径

400

LMS.00006003

AccessForbidden: The request is Forbidden

权限不足

检查权限配置

500

LMS.10000001

Internal server error

服务不可用

联系技术支持

400

LMS.10001001

Provide prompts based on specific errors, for example: Missing the required header field xxx.

请求参数非法

根据返回的错误消息体提示进行修改

400

LMS.10001002

User not have the right

对应的用户没有操作权限

确认用户权限

400

LMS.10001003

Store number already exceed the limit

租户创建的服务实例超过上限

删除不再使用的实例,再次创建

400

LMS.10001004

Invalid store name

实例名称不符合命名要求

按照文档中的规范修改名称

400

LMS.10001005

Store already exists

同名实例已经被创建,不允许创建同名的实例

更换实例名称后再创建

400

LMS.10001006

Illegal flavor

选择的Flavor不符合要求

选择合法的flavor

400

LMS.10001007

Resource has been exhausted

选择的资源已经耗尽

选择其他的Flavor资源

400

LMS.10001008

Store not exist, Store name is xxx

实例不存在

使用实例名称需要保证实例存在

400

LMS.10001009

Job not exist, jobID is xxx

任务不存在

使用存在的任务名

400

LMS.10001010

Illegal Capacity

非法的容量取值

设置合法的存储容量值

400

LMS.10001011

Store has already been created by other user. Please choose another name and try creating again

实例已经被其他人创建

更换实例名称后再创建

400

LMS.10001012

Provide prompts based on the specific error information in the JSON body

无效的JSON Body体

根据返回的错误消息体提示进行修改

400

LMS.10001013

Another store is creating

实例正在创建,不允许再次创建

等待实例创建完成,再创建

400

LMS.10001014

Save instance meta failed

创建实例失败

检查原因,稍后重试,联系技术支持

400

LMS.10001015

Store has xxx collectionNum collections, please delete collection first, store name is xxx

实例下存在Collection,不允许删除实例

先删除实例下的Collection,再删除实例

400

LMS.10001016

Can not find tenant quota

找不到对应的租户

修改租户ID再重试

support.huaweicloud.com/api-lms/ErrorCode.html