Error Codes

Format of an Error Response Body

If an error occurs during API calling, the system returns an error code and message to you. The following shows the format of an error response body:

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

In the preceding information, error_code is an error code, and error_msg describes the error.

Error Code Description

If an error code starting with APIGW is returned after you call an IEF API, rectify the fault by referring to the instructions provided in API Gateway Error Codes.

Table 1 Error codes

Status Code

Error Code

Description

400

IEF.011005

Invalid token.

400

IEF.100001

PROJECT_ID not found.

400

IEF.100002

Invalid SORT_KEY.

400

IEF.100003

Invalid SORT_DIR.

400

IEF.100004

Invalid MARKER.

400

IEF.100005

Invalid LIMIT.

400

IEF.100006

Invalid RESOURCE_TYPE.

400

IEF.100007

Invalid TAG_QUERY.

400

IEF.100008

Invalid DEPLOYMENT_ACTION.

400

IEF.100009

Invalid VOLUME_TYPE.

400

IEF.100010

Invalid APP_VERSION.

400

IEF.100011

Invalid APP_NAME.

400

IEF.100012

Invalid RESOURCE_NAME.

400

IEF.100013

Invalid ENV_NAME.

400

IEF.100014

Invalid VOLUME_NAME.

400

IEF.100015

Invalid HOST_PATH_SOURCE.

400

IEF.100016

Invalid TAG_KEY.

400

IEF.100017

Invalid TAG_VALUE.

400

IEF.100018

Invalid LOG_TYPE.

400

IEF.100019

Invalid LOG_COMPONENT.

400

IEF.100018

Invalid FLOAT.

400

IEF.100019

The value is greater than the maximum value.

400

IEF.100020

The value is less than the minimum value.

400

IEF.100021

Invalid STRING.

400

IEF.100022

Invalid STRING.

400

IEF.100023

Invalid STRING.

400

IEF.100024

Invalid INT.

400

IEF.100025

Invalid INT.

400

IEF.100026

Invalid INT.

400

IEF.100027

Invalid JSON.

400

IEF.100028

Invalid UUID.

400

IEF.100029

Name is mandatory in %(resource)s.

400

IEF.100030

The environment variable name is mandatory.

400

IEF.100031

The environment variable name is mandatory.

400

IEF.100032

The volume name is mandatory.

400

IEF.100033

The volume source is mandatory.

400

IEF.100034

The destination address of the volume is mandatory.

400

IEF.100035

The application version is mandatory.

400

IEF.100036

The image URL in the application version is mandatory.

400

IEF.100037

The group ID of the edge device is mandatory.

400

IEF.100038

The group ID and name cannot be queried at the same time.

400

IEF.100038

Duplicate volume destination addresses.

400

IEF.100039

Duplicate log types and components.

400

IEF.100040

The log configuration length exceeded 4 characters.

400

IEF.100041

Failed to connect to IAM.

400

IEF.100042

Tag not supported.

400

IEF.100043

Visibility type not supported.

400

IEF.100058

The device has been bound.

400

IEF.100067

The node cannot be deleted because there are devices bound to this node.

400

IEF.100100

The name parameter in the request is incorrect.

400

IEF.100126

Insufficient quota.

400

IEF.104004

The resource to be created already exists.

400

IEF.101001

GROUP does not exist.

400

IEF.101002

EDGE_MASTER does not exist.

400

IEF.101003

TAG does not exist.

400

IEF.101004

DEPLOYMENT does not exist.

400

IEF.101005

DEVICE does not exist.

400

IEF.101006

APP does not exist.

400

IEF.101007

AK/SK does not exist.

400

IEF.101008

APP_VERSION does not exist.

400

IEF.101009

LOG_CONFIG does not exist.

400

IEF.1030001

The request is not allowed by the policy.

400

IEF.1090001

Duplicate tag keys.

400

IEF.1090002

The resource name already exists.

400

IEF.1090003

Any operation is not allowed on the instance because it is running.

400

IEF.1090004

The group cannot be deleted because there are edge devices in the group.

400

IEF.1090005

Certain edge devices in the group are not ready.

400

IEF.1090006

No edge device is found in the group.

400

IEF.1090007

The edge device cannot be deleted because there are instances deployed on it.

400

IEF.1090008

The group has already contained one edge device and any other edge devices cannot be added.

400

IEF.5000001

Failed to decrypt the private key.

400

IEF.5000002

Failed to create the certificate.

400

IEF.5000003

Failed to connect to Kubernetes.

400

IEF.130089

Failed to create or update the application because the node is not running.

409

IEF.130097

The container runtime environment on the edge node is not ready.

409

IEF.100161

The operation is not allowed because the edge node is being upgraded.

404

IEF.110074

Application template not found.

400

IEF.100047

The template's visibility property values are not supported.

409

IEF.130093

The application version already exists.

400

IEF.100011

Invalid application template name.

400

IEF.100010

Invalid application version name.

400

IEF.100009

Invalid volume type.

400

IEF.100013

Invalid environment variable name.

400

IEF.100014

Invalid volume name.

400

IEF.100015

The source path or destination path of the volume is invalid.

400

IEF.100020

The service type of the application template is invalid.

400

IEF.100042

A conflict occurs on the destination path of the volume.

400

IEF.100051

Duplicate property values.

400

IEF.100052

The volume type is mandatory.

400

IEF.100054

The emptyDir type is not supported.

404

IEF.110072

Application instance not found.

404

IEF.110076

Application version not found.

400

IEF.100113

The resource limit of the application instance cannot be less than the requested value. If GPUs are used, the GPU limit must be the same as the requested value.

400

IEF.100118

Failed to obtain the GPU information of the node.

400

IEF.100133

Probe properties are incomplete or redundant.

400

IEF.100134

The length of the command specified by the probe exceeded the limit.

400

IEF.100135

Invalid probe URL.

400

IEF.100160

ConfigMap or secret volumes must be read-only.

500

IEF.100158

Failed to parse GPU information.

400

IEF.100162

Port mapping cannot be specified when the host network is used.

400

IEF.100163

The host port or container port is not specified in the port mapping record.

409

IEF.100164

The host port is already occupied.

400

IEF.100112

The list of edge nodes on which the application is to be deployed is empty.

400

IEF.100119

Invalid ConfigMap name.

400

IEF.100120

The key in ConfigMap data is invalid.

400

IEF.100121

The value in ConfigMap data is invalid.

400

IEF.100122

The ConfigMap data length exceeded the limit.

409

IEF.100155

The secret is in use and cannot be deleted.

409

IEF.100159

The ConfigMap is in use and cannot be deleted.

400

IEF.100148

Invalid secret name.

400

IEF.100149

The secret data length exceeded the limit.

400

IEF.100150

Invalid secret type.

400

IEF.100151

The key in the secret data is invalid.

400

IEF.100152

The value in the secret data is invalid.

400

IEF.100153

The secret of the kubernetes.io/dockerconfigjson type must contain a key-value pair in which the key is .dockerconfigjson and the value is a character string encoded using base64.

400

IEF.100165

At least one secret data record exists.

400

IEF.100065

Invalid notification ID.

400

IEF.100114

Invalid topic.

409

IEF.100166

The edge software version is too early and does not support the feature required by the request.

400

IEF.100167

Architecture not supported. Supported architecture values are: %s.

500

IEF.100412

Failed to obtain the application list.

500

IEF.120001

Internal error.

401

IEF.310000

Token not set.

401

IEF.310001

Token parsing failed.

401

IEF.310002

Token expired.

403

IEF.310003

The project ID does not match.

500

IEF.340000

Failed to parse the server token.

400

IEF.300000

Failed to parse the request body.

400

IEF.300001

The endpoint is mandatory in the request body.

400

IEF.300002

Invalid endpoint name. Enter a maximum of 64 characters that consist of letters, digits, hyphens (-), and underscores (_).

400

IEF.300003

Invalid endpoint description. The following characters are not allowed: ^~#$%&*<>()[]{}'\"\\

400

IEF.300004

Invalid endpoint type. The endpoint type can only be dis or servicebus.

400

IEF.300005

Invalid endpoint property. The endpoint of the dis and apigw type must contain domain_id, and the endpoint of the servicebus type must contain service_port.

500

IEF.340001

Unknown server error.

409

IEF.300006

Duplicate endpoint names.

500

IEF.320000

Unknown database error.

404

IEF.300007

Endpoint not found.

400

IEF.300008

Endpoint in use.

400

IEF.300009

Insufficient endpoint quota.

400

IEF.300101

The rule is mandatory in the request body.

400

IEF.300102

Invalid rule name. Enter a maximum of 64 characters that consist of letters, digits, hyphens (-), and underscores (_).

400

IEF.300103

Invalid rule description. The following characters are not allowed: ^~#$%&*<>()[]{}'\"\\

400

IEF.300104

Invalid source endpoint. The source endpoint must be the ID of an endpoint whose type is rest or eventbus.

400

IEF.300105

Invalid source endpoint resource. The source resource varies depending on the source endpoint type. When the source endpoint type is rest, the source resource must contain a path in the URI format. When the source endpoint type is eventbus, the source resource must contain node_id and a topic in the format of <project_id>/nodes/<node_id>/user/<custom mqtt topic>.

400

IEF.300106

Invalid destination endpoint. The destination endpoint must be the ID of an endpoint whose type is dis, eventbus, servicebus, or apigw.

400

IEF.300107

Invalid destination endpoint resource. The destination resource varies depending on the destination endpoint type. When the destination endpoint type is dis, the destination resource must contain an existing DIS stream. When the destination endpoint type is servicebus, the destination resource must contain a path in the URI format. When the target endpoint type is eventbus, the target resource must contain an MQTT topic. When the target endpoint type is apigw, the target resource must contain a resource in the URL format.

409

IEF.300108

Duplicate rule names.

404

IEF.300109

Rule not found.

400

IEF.300110

The rule is mandatory in the request body.

400

IEF.300111

Invalid rule action. The rule action can be Start or Stop.

400

IEF.300112

A disabled rule cannot be disabled again. Similarly, an enabled rule cannot be enabled again.

400

IEF.300113

Insufficient rule quota.

400

IEF.300114

DIS stream not found.

400

IEF.300115

  1. DIS stream not set.
  2. Incorrect DIS stream format.

400

IEF.300116

  1. servicebus path not set.
  2. Invalid servicebus path.

400

IEF.300117

  1. eventbus topic not set.
  2. Incorrect eventbus topic format.

400

IEF.300118

eventbus topic conflict.

400

IEF.300119

  1. apigw resource not set.
  2. Incorrect apig resource format.

400

IEF.300120

  1. mqtt topic not set.
  2. Incorrect mqtt topic format.

400

IEF.300121

mqtt topic overlapped.

400

IEF.300122

  1. rest path not set.
  2. Incorrect rest path format.

400

IEF.300123

rest path overlapped.

400

IEF.300124

  1. Incorrect device format.
  2. The device type does not match.

400

IEF.300125

Device not found.

400

IEF.300126

Edge node not found.

400

IEF.300127

Edge node conflict.

400

IEF.300128

Project ID not set in tsdb.

400

IEF.300129

Incorrect project ID in tsdb.

400

IEF.300130

Incorrect domain ID in tsdb.

400

IEF.300131

Incorrect URL in tsdb.

400

IEF.300132

Incorrect tags in tsdb.

400

IEF.300133

edgedb resource error.

400

IEF.300134

tsdb resource error.

400

IEF.300135

  1. eventbus node ID not set.
  2. Incorrect eventbus node ID format.

400

IEF.300201

Incorrect quota type.

400

IEF.300202

Failed to update the quota.

400

IEF.300301

IEF instance unavailable.

500

IEF.330000

  1. DIS network error.
  2. IDS unavailable.

500

IEF.330001

  1. edgemanager network error.
  2. edgemanager unavailable.
  3. Device parsing failed.