文档首页 > > API参考> 附录> 错误码

错误码

分享
更新时间: 2019/05/20 GMT+08:00

错误响应Body体格式说明

当接口调用出错时,会返回错误码及错误信息说明,错误响应的Body体格式如下所示。

{
  "error_code": "IEF.5000002",
  "error_msg": "xxxxxxxxx"
} 

其中,error_code表示错误码,error_msg表示错误描述信息。

错误码说明

表1 错误码说明

http_code

返回值

说明

英文描述

400

IEF.100001

PROJECT_ID不存在

PROJECT_ID not found

400

IEF.100002

SORT_KEY不合法

SORT_KEY invalid

400

IEF.100003

SORT_DIR不合法

SORT_DIR invalid

400

IEF.100004

MARKER不合法

MARKER invalid

400

IEF.100005

LIMIT不合法

LIMIT invalid

400

IEF.100006

RESOURCE_TYPE不合法

RESOURCE_TYPE invalid

400

IEF.100007

TAG_QUERY不合法

TAG_QUERY invalid

400

IEF.100008

DEPLOYMENT_ACTION不合法

DEPLOYMENT_ACTION invalid

400

IEF.100009

VOLUME_TYPE不合法

VOLUME_TYPE invalid

400

IEF.100010

APP_VERSIO不合法

APP_VERSIO invalid

400

IEF.100011

APP_NAME不合法

APP_NAME invalid

400

IEF.100012

RESOURCE_NAME不合法

RESOURCE_NAME invalid

400

IEF.100013

ENV_NAME不合法

ENV_NAME invalid

400

IEF.100014

VOLUME_NAME不合法

VOLUME_NAME invalid

400

IEF.100015

HOST_PATH_SOURCE不合法

HOST_PATH_SOURCE invalid

400

IEF.100016

TAG_KEY不合法

TAG_KEY invalid

400

IEF.100017

TAG_VALUE不合法

TAG_VALUE invalid

400

IEF.100018

LOG_TYPE不合法

LOG_TYPE invalid

400

IEF.100019

LOG_COMPONENT不合法

LOG_COMPONENT invalid

400

IEF.100018

FLOAT不合法

FLOAT invalid

400

IEF.100019

数值超过最大

数值超过最大

400

IEF.100020

数值低于最小

数值低于最小

400

IEF.100021

STRING不合法

STRING invalid

400

IEF.100022

STRING不合法

STRING invalid

400

IEF.100023

STRING不合法

STRING invalid

400

IEF.100024

INT不合法

INT invalid

400

IEF.100025

INT不合法

INT invalid

400

IEF.100026

INT不合法

INT invalid

400

IEF.100027

JSON不合法

JSON invalid

400

IEF.100028

UUID不合法

UUID invalid

400

IEF.100029

名称在% (资源) s 中是必需的

Name is mandatory in %(resource)s

400

IEF.100030

名称在环境中是必需的

Name is mandatory in environments

400

IEF.100031

名称在环境中是必需的

Name is mandatory in environments

400

IEF.100032

名称在卷中是必需的

Name is mandatory in volume

400

IEF.100033

源在卷中是必需的

Source is mandatory in volume

400

IEF.100034

卷中的目标地址是必需的

Destination is mandatory in volume

400

IEF.100035

版本在应用程序版本中是必需的

Version is mandatory in application version

400

IEF.100036

在应用程序版本中, 镜像URL 是必需的

Image URL is mandatory in application version

400

IEF.100037

在边缘设备中必须有组 id

Group id is mandatory in edge device

400

IEF.100038

不支持同时查询组 id 和名称

Not support query both group id and name

400

IEF.100038

卷目的地址不一致

Volume destination %(dest)s is duplicated

400

IEF.100039

日志类型和组件重复

Log type and component is duplicated

400

IEF.100040

日志配置长度超过4

The log configuration length over 4

400

IEF.100041

无法连接 IAM

Fail to connect IAM

400

IEF.100042

标记不支持

Tag for %(resource_type)s not support

400

IEF.100043

不支持的可见性类型

Visibility type for %(v_type)s not support

400

IEF.100058

设备已被绑定

The device has bound

400

IEF.100067

删除节点前节点绑定的设备未被解绑

There are devices in this node, can not delete it

400

IEF.101001

GROUP不存在

GROUP not found

400

IEF.101002

EDGE_MASTER不存在

EDGE_MASTER not found

400

IEF.101003

TAG不存在

TAG not found

400

IEF.101004

DEPLOYMENT不存在

DEPLOYMENT not found

400

IEF.101005

DEVICE不存在

DEVICE not found

400

IEF.101006

APP不存在

APP not found

400

IEF.101007

AKSK不存在

AKSK not found

400

IEF.101008

APP_VERSION不存在

APP_VERSION not found

400

IEF.101009

LOG_CONFIG不存在

LOG_CONFIG not found

400

IEF.1030001

策略不允许执行此请求

Policy does not allow this request to be performed

400

IEF.1090001

标记中的重复键

Duplicated key in tags

400

IEF.1090002

资源名称已存在

Resource name has existed

400

IEF.1090003

实例正在运行, 不允许操作它

Deployment is operating, do not allow operate it

400

IEF.1090004

边缘设备存在, 不允许删除组

Node is existed, do not allow delete group

400

IEF.1090005

组中未就绪的边缘设备

Node not ready in group

400

IEF.1090006

组中找不到边缘设备

Node not found in group

400

IEF.1090007

实例存在, 不允许删除边缘设备

Deployment is existed, do not allow delete edge device.

400

IEF.1090008

组有一个边缘设备, 不允许添加多个

Group has one edge device, do not allow add multiple one

400

IEF.5000001

解密私钥故障

Decrypt private key failure

400

IEF.5000002

创建证书项失败

Creating secert item failure

400

IEF.5000003

无法连接 k8s

Fail to connect k8s

409

IEF.130097

边缘节点容器运行时环境未就绪

Container runtime not ready in edge node %(id)s.

409

IEF.100161

边缘节点正在升级中,不允许执行请求的操作

Node is upgrading, operation not allowed.

404

IEF.110074

找不到指定的应用模板

Application %(id)s not found.

400

IEF.100047

模板可见性属性值不支持

Visibility type for %(v_type)s not support.

409

IEF.130093

应用版本已存在

Application version is existed.

400

IEF.100011

应用模板名称不合法

Name must be lowercase letter, number, or -, length under 32, start and end with lowercase letter or number.

400

IEF.100010

应用版本版本名称不合法

Application version must be include lowercase letter, number, dot and -, length under 64, and start of lowercase letter or number.

400

IEF.100009

卷类型不合法

%(value)s is not a valid option for volume type

400

IEF.100013

环境变量名称不合法

Envrionment variable name must be start of letter and _, include letter, _ and number, length under 2048.

400

IEF.100014

卷名称不合法

Volume name must be include lowercase letter and number, length under 63.

400

IEF.100015

卷的原路径或挂载目的路径不合法

Volume source and destination should start of /, and include - _ / . letter and number.

400

IEF.100020

应用模板所属的服务类型值不合法

Application service type must be include lowercase letter, number, and -, length under 32.

400

IEF.100034

缺少环境变量的名称

Name is mandatory in environments.

400

IEF.100035

缺少环境变量的值

Value is mandatory in environments.

400

IEF.100036

缺少卷名称

Name is mandatory in volume.

400

IEF.100037

缺少卷的源路径

Source is mandatory in volume.

400

IEF.100038

缺少卷的目的挂载路径

Destination is mandatory in volume.

400

IEF.100039

缺少应用版本的版本名称

Version is mandatory in application version.

400

IEF.100040

缺少镜像地址

Image URL is mandatory.

400

IEF.100042

卷的目的挂载地址冲突

Volume destination %(dest)s is duplicated.

400

IEF.100051

重复的属性值

Value %(value)s is duplicated.

400

IEF.100052

缺少卷类型

Type is mandatory in volume.

400

IEF.100054

empty dir类型不支持

Empty dir only support memory and disk.

404

IEF.110072

找不到指定的应用实例

Instance %(id)s not found.

404

IEF.110076

找不到指定的应用版本

App version %(id)s not found.

400

IEF.100113

应用实例的资源限制不能小于所申请的值/若使用GPU,则申请值与限制值必须相等

Container resources limits must be greater than requests./Container GPU limits must be equal to requests.

400

IEF.100118

未获取到节点的GPU设备信息

Node does not has gpu device.

400

IEF.100133

探针属性不完整或冗余

One and only one of the following key exec/http_get/tcp_socket_port is needed.

400

IEF.100134

探针指定的命令行命令长度超过限制

Probe exec command length should not bigger than 10240.

400

IEF.100135

探针指定的探测URL路径不合法

The value of path must start with /

400

IEF.100160

configMap或secret类型的卷必须是只读的

Volume of type %(volume_type)s must be read only.

500

IEF.100158

GPU信息解析失败

Fail to extract gpu infomation(%(gpu_info)s) of node %(node_id)s, reason: %(detail)s.

400

IEF.100162

不能在使用主机网络的同时,指定端口映射

Can not set ports while host_network set to true.

400

IEF.100163

端口映射记录中缺少宿主机端口或容器端口

Missing host_port or container_port in ports entry.

409

IEF.100164

主机端口已被占用

Host port %(host_port)s in edge node %(node_name)s has been used by another deployment %(deploy_name)s. Host ports allocated: %(allocated)s.

400

IEF.100112

用于部署应用的边缘节点列表为空

Currently, node ids need less than one.

400

IEF.100119

配置项名称不合法

Configmap name must start with lower case english character, be include english in lower case, number, -, not end with -, length between 4 and 24.

400

IEF.100120

配置项数据key不合法

Configmap key must be include english, number, ., -, _, length between 1 and 63.

400

IEF.100121

配置项数据value不合法

Configmap value must be string.

400

IEF.100122

配置项数据长度超过限制

Configmap\'s configs must be a dict, and length under 1048576.

409

IEF.100155

密钥正在使用中,不允许删除

Secret is in use, not allow to delete it.

409

IEF.100159

配置项正在使用中,不允许删除

ConfigMap is in use, not allow to delete it.

400

IEF.100148

密钥名称不合法

Secret name must start with lower case english character, be include english in lower case, number, -, not end with -, length between 4 and 24.

400

IEF.100149

密钥数据长度超过限制

Secret\'s secrets must be a dict, and length under 1048576.

400

IEF.100150

密钥类型不合法

Secret type %s is not supported, supported secret type are %s

400

IEF.100151

密钥数据key不合法

Secret key must be include english, number, ., -, _, length between 1 and 63.

400

IEF.100152

密钥数据value不合法

Secret value must be base64 encoded string.

400

IEF.100153

类型为kubernetes.io/dockerconfigjson的密钥,密钥数据中必须包含key为.dockerconfigjson的键值对,且其值为base64编码后的字符串

Secret of type kubernetes.io/dockerconfigjson must contains .dockerconfigjson in secrets, and its value should be a base64 encoded json string.

400

IEF.100165

密钥数据需至少包含一条密钥数据记录

Secrets Field must be a dictionary with at least one key-val entry.

400

IEF.100065

通知ID不合法

The ID of notification must be only include upper or lowercase letter, number, and special letter _ and length of value under 255.

400

IEF.100114

消息主题不合法

The topic must be only include english, number, special letter _, -, / and length of value under 255.

409

IEF.100166

边缘软件版本过低,不支持请求所需使用的特性

Node %(node_name)s(%(node_id)s) doesn\'t support feature: %(feature)s. Required version: %(required_version)s, current version: %(current_version)s.

400

IEF.100167

架构不支持

Arch not supported, supported arch values are: %s

分享:

    相关文档

    相关产品

文档是否有解决您的问题?

提交成功!

非常感谢您的反馈,我们会继续努力做到更好!

反馈提交失败,请稍后再试!

*必选

请至少选择或填写一项反馈信息

字符长度不能超过200

提交反馈 取消

如您有其它疑问,您也可以通过华为云社区问答频道来与我们联系探讨

跳转到云社区