更新时间:2022-07-11 GMT+08:00
分享

错误码

调用接口出错后,将不会返回结果数据。调用方可根据每个接口对应的错误码来定位错误原因。 当调用出错时,HTTP 请求返回一个 4xx 或 5xx 的 HTTP 状态码。返回的消息体中是具体的错误代码及错误信息。在调用方找不到错误原因时,可以联系华为云客服,并提供错误码,以便我们尽快帮您解决问题。

错误响应Body体格式说明

当接口调用出错时,会返回错误码及错误信息说明,错误响应的Body体格式如下所示。
{
    "error_code": "DRIS.01010002",
    "error_msg": "The RSU not found."
}

其中,error_code表示错误码,error_msg表示错误描述信息。error_msg值会变动,内容以实际情况为准。

错误码说明

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

状态码

错误码

错误信息

描述

处理措施

400

DRIS.00000002

Invalid input. %s

请求参数不合法

请排查请求参数是否符合文档定义。

400

DRIS.00000012

Resource create failed.

开通资源失败

请联系华为工程师分析解决。

400

DRIS.00000013

Resource already exist. This domain is already create resource.

资源已经存在

资源已经存在,请勿重复开通资源。

400

DRIS.00010001

The RSU ESN already exists.

RSU esn已经存在

请更换esn后重试。

400

DRIS.00010005

The RSU model name already exists.

RSU型号名称已存在

请更换名称后重试。

400

DRIS.00020002

Invalid input, event type invalid.

事件分类和事件类型不匹配

请参考国标交通事件编码填写。

400

DRIS.00020003

Invalid input, no tenant id found!

帐号ID不合法

请联系华为工程师分析解决。

400

DRIS.00030001

Invalid input. No matching RSU found for this event.

事件位置范围内未匹配到RSU

请检查事件位置是否正确。

400

DRIS.00100001

The number of RSU connection to Edges have reached the upper limit.

RSU可关联的Edge数量达上限

请参考修改一个RSU资源调整RSU可关联的Edge数量。

400

DRIS.00100003

The EdgeApps are repeated.

Edge App已经存在

请更换edge_app_id后重试。

400

DRIS.00120002

IPC ESN duplicate

IPC设备已经存在

请更换esn后重试。

400

DRIS.00130003

Create install command failed.

生成边缘节点安装命令失败

请联系华为工程师分析解决。

400

DRIS.00200000

Instance not found.

dris实例不存在

请确认携带的instance_id是否正确。

400

DRIS.00210001

Unknown system mode.

未知的系统模式

请确认携带的systemMode是否正确。

400

DRIS.00210003

Incremental updates are not supported.

License不支持增量更新

请尝试使用全量更新操作。

400

DRIS.00210008

ESN not match can not apply.

激活license时esn匹配失败

请联系华为工程师分析解决。

400

DRIS.00280001

The Vehicle VehicleId already exists.

车辆ID已经存在

请更换vehicle_id后重试。

400

DRIS.00290001

The TrafficController TrafficControllerId already exists.

信号机设备已存在

请更换traffic_controller_id后重试。

400

DRIS.00340002

The file not found!

文件不存在

请确认对应file_id的文件是否已经导入到平台。

400

DRIS.00340003

The file has imported!

文件中的设备已经创建

请更换文件后重试。

400

DRIS.00350004

The linkAssetRelation file not found!

该file_id对应的路段设备关系文件不存在

请确认对应file_id的文件是否已经导入到平台后重试。

401

DRIS.00000004

Token is invalid.

token不合法

请排查请求中的token是否正确或是否过期。

401

DRIS.00000007

Resource unauthorized. The instance does not belong to this authorized user.

资源未授权

请确认是否已开通资源。

401

DRIS.00000010

Resource unauthorized. URL's project id doesn't match token.

资源访问受限

请检查携带的token是否有权限访问url中指定project_id的项目。

403

DRIS.00000005

Resource limit reached.

请求的资源配额已达上限

请联系华为工程师分析解决。

403

DRIS.00000006

Resource is frozen.

资源已被冻结

请联系华为工程师分析解决。

403

DRIS.00000009

Operation not allowed. The user does not have the permission of this API.

无权访问此API

请联系华为工程师确认用户的权限策略。

403

DRIS.00010004

Rsu resource reach limit.

RSU可关联的Edge数量达上限

请参考修改一个RSU资源调整RSU可关联的Edge数量。

403

DRIS.00020004

Traffic event resource reach limit.

交通事件数量达上限

请删除一些交通事件后重试。

403

DRIS.00031005

Simulation task is running!

仿真任务正在执行中

请在任务执行完成后再操作。

403

DRIS.00031006

Simulation task lack scenes!

仿真任务缺少任务应用场景

请根据任务类型补全对应场景。

403

DRIS.00130001

Request forbidden. The system app $edgetepa must be deployed first.

部署边缘应用失败

请先部署边缘系统应用。

403

DRIS.00130005

The EdgeApp cannot be deleted because it has associated DataChannels.

删除边缘应用失败

Edge设备的业务通道存在时无法直接删除边缘应用,请先删除业务通道后重试。

403

DRIS.00150001

Max configurations (10) exceeded.

租户数据转发配置资源(Kafka)数量达上限

请删除未使用的数据转发配置后重试。

403

DRIS.00150002

The broker in your request already exists. Check your Kafka configurations.

数据转发配置中的broker地址已经存在

请更换broker地址及用户名密码后重试。

403

DRIS.00190001

The algorithm model for this function of this road network already exists.

算法模型已经存在

请确认对应road_network_id和model_function的算法模型是否已经添加到平台。

403

DRIS.00190002

The algorithm model of this version is in use.

指定版本的算法模型已经在使用中

请确认此版本的算法模型处于非使用状态后重试

403

DRIS.00200002

Forbidden to operate instance.

禁止操作dris实例

请联系华为工程师分析解决。

403

DRIS.00280003

Vehicle resource reach limit.

车辆数量达上限

请联系华为工程师分析解决。

403

DRIS.00290003

TrafficController resource reach limit.

信号机设备数量达上限

请联系华为工程师分析解决。

403

DRIS.00350001

The number of devices of the same data type on one link exceeds the limit!

该路段下同种数据类型的绑定设备数量超过限制

请先解绑该路段下对应数据类型的已绑定设备后重试。

403

DRIS.00350002

The total number of linkAssetRelation exceeds the limit!

绑定路段设备关系总数超过限制

请先解绑部分未使用的路段设备关系后重试。

403

DRIS.00350003

The linkAssetRelation not bound!

该路段设备关系未绑定

请确认当前输入的link_id,esn,data_type对应的路段设备关系已绑定。

403

DRIS.00350005

The number of subTasks in the file exceeds limit

该文件下对应的子任务数量超过限制

请减少文件中的待操作的数据条数以符合限制后重试。

403

DRIS.00350006

The linkAssetRelation task is running!

已有路段设备任务正在执行

请在当前任务完成后再重试。

404

DRIS.00000011

Resource not found.

资源不存在

请确认是否已开通资源。

404

DRIS.00010002

The RSU not found.

RSU不存在

请确认对应的rsu_id或esn是否已经在平台创建RSU。

404

DRIS.00010003

Rsu model not found.

RSU型号不存在

请确认对应的rsu_model_id是否已经在平台创建RSU型号。

404

DRIS.00020001

This traffic event is not found.

交通事件不存在

请确认对应的event_id是否已经在平台创建交通事件。

404

DRIS.00040001

Area config not found.

区域配置不存在

请确认对应的area_code是否已经在平台添加区域配置。

404

DRIS.00080001

Rule config not found

交通事件规则配置不存在

请确认对应的event_type或position_id是否已经在平台新增规则。

404

DRIS.00090001

Edge not found.

Edge设备不存在

请确认对应的v2x_edge_id是否已经在平台创建Edge设备。

404

DRIS.00100002

The EdgeApp not found.

Edge App不存在

请确认对应的edge_app_id是否已经在平台创建Edge App。

404

DRIS.00100004

The EdgeAppVersion not found.

Edge App版本不存在

请确认对应的version是否已经在平台创建Edge App版本。

404

DRIS.00120001

This camera does not exist.

IPC设备不存在

请确认对应camera_id的IPC设备是否已经添加到平台。

404

DRIS.00130002

The V2XEdgeApp not found

边缘应用不存在

请确认对应v2x_edge_id和edge_app_id的边缘应用是否已经部署。

404

DRIS.00130004

DataChannel not found

业务通道不存在

请确认指定Edge设备(v2x_edge_id)是否已经在平台创建业务通道

404

DRIS.00150003

Kafka config not found

数据转发配置资源(Kafka)不存在

请确认对应的forwarding_config_id是否已经在平台创建数据转发配置。

404

DRIS.00170001

Not Found.

地图区间不存在

请确认地图区间是否已经在平台添加。

404

DRIS.00180001

Not Found.

资源不存在

请确认是否已开通资源。

404

DRIS.00190003

The algorithm model not found.

算法模型不存在

请确认对应model_id的算法模型是否已经添加到平台。

404

DRIS.00210000

The license file does not exist and cannot be updated.

License文件不存在

请确认携带的lsn是否正确。

404

DRIS.00210004

ESN not found.

license esn不存在

请联系华为工程师分析解决。

404

DRIS.00220001

The file not found.

文件不存在

请联系华为工程师分析解决。

404

DRIS.00230001

The interaction not found.

对接系统不存在

请确认对应interaction_id的对应系统是否已经在平台配置。

404

DRIS.00240001

The ITS asset not found.

交通设施不存在

请确认对应its_asset_id的交通设施是否已经在平台添加。

404

DRIS.00250001

Link not found.

路段不存在

请确认对应link_id的路段是否已经在平台添加。

404

DRIS.00260001

The Road network not found.

路网不存在

请确认对应road_network_id的路网是否已经在平台生成。

404

DRIS.00270001

The control strategy not found.

管控策略不存在

请确认对应strategy_id的管控策略是否已经在平台下发。

404

DRIS.00280002

The Vehicle not found.

车辆不存在

请确认对应vehicle_id的车辆资源是否已经在平台创建。

404

DRIS.00290002

The TrafficController not found.

信号机设备不存在

请确认对应traffic_controller_id的信号机设备是否已经在平台创建。

404

DRIS.00300001

The datasource not found.

数据源不存在

请检查data_source_id是否正确。

404

DRIS.00310001

The simulation task not found!

仿真任务不存在

请确认对应task_id的仿真任务是否已经在平台创建。

404

DRIS.00320001

The common scene not found!

仿真任务普通场景不存在

请确认对应task_id和common_id的普通场景仿真任务是否已经在平台创建。

404

DRIS.00320002

The accident scene not found!

仿真任务事故场景不存在

请确认对应task_id和accident_id的事故场景仿真任务是否已经在平台创建。

404

DRIS.00320003

The construction scene not found!

仿真任务施工场景不存在

请确认对应task_id和construction_id的施工场景仿真任务是否已经在平台创建。

404

DRIS.00320004

The common speed-limit scene not found!

仿真任务限速场景不存在

请确认对应task_id和speed_limit_id的限速场景仿真任务是否已经在平台创建。

404

DRIS.00320005

The common flow-control scene not found!

仿真任务匝道流控场景不存在

请确认对应task_id和flow_control_id的匝道流控场景仿真任务是否已经在平台创建。

404

DRIS.00320006

The emergency-lan-open scene not found!

仿真任务开放应急车道场景不存在

请确认对应task_id和emergency_lan_open_id的开放应急车道场景仿真任务是否已经在平台创建。

404

DRIS.00330001

The statistics result not found!

仿真任务的统计结果不存在

请检查任务是否已经执行成功。

404

DRIS.00330002

The detector result not found!

仿真任务的检测器结果不存在

请检查任务是否已经执行成功且检测器已经存在。

404

DRIS.00340001

The task not found!

任务不存在

请确认对应task_id的任务是否已经在平台创建。

404

DRIS.00350007

The linkAssetRelation task not found!

该task_id对应的路段设备关系任务不存在

请确认对应task_id的路段设备关系任务是否已经在平台创建。

405

DRIS.00000003

Method not allowed. Http request method not supported, just supports: %s

Http Method不合法

请排查Http Method是否与文档一致。

429

DRIS.00000008

Request reached the maximum rate limit %s.

请求被流控

请在流控范围内请求接口。

500

DRIS.00000001

Internal server error. %s

服务器内部错误

请联系华为工程师分析解决。

500

DRIS.00200001

Instance create failed. %s

创建dris实例失败

请联系华为工程师分析解决。

500

DRIS.00200003

Create vpc endpoint failed.

创建vpcep失败

请联系华为工程师分析解决。

500

DRIS.00200004

Create iotda out channel failed.

创建IoTDA的网络通道失败

请联系华为工程师分析解决。

500

DRIS.00210002

Update device limit failed.

更新设备数上限配置时发生错误

请联系华为工程师分析解决。

500

DRIS.00210005

Get key file content failed.

获取license key文件失败

请联系华为工程师分析解决。

500

DRIS.00210006

Get revoke code failed.

更新license为失败状态时获取失效码失败

请联系华为工程师分析解决。

500

DRIS.00210007

Parse license failed.

license解析失败

请联系华为工程师分析解决。

分享:

    相关文档

    相关产品