错误码列表
错误码消息样例:
{
"error_code": "IOTDA.000006",
"error_msg": "Invalid input data."
}
公共错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.000006 |
Invalid input data. |
请求参数不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.000008 |
Invalid input. Bad request, for more detail, refer to the error message. |
请求的格式不正确,如json非法,mediaType不正确等。 |
请排查该请求的请求格式是否正确。 |
|
400 |
IOTDA.000009 |
Invalid input. Invalid time format. |
时间的格式不正确 |
请排查请求参数中时间的格式是否与文档中的保持一致。 |
|
400 |
IOTDA.000010 |
Invalid input. The start time must be earlier than the end time. |
请求中的开始时间大于结束时间 |
请求中开始时间必须早于结束时间。 |
|
400 |
IOTDA.000011 |
Invalid input. The specified parameter 'pageNo' is out of range. |
请求参数中pageNo超出范围 |
请排查请求参数中的pageNo大小是否在文档限制范围之内。 |
|
400 |
IOTDA.000012 |
Invalid input. The specified parameter 'pageSize' is out of range. |
请求参数中pageSize超出范围 |
请排查请求参数中的pageSize大小是否在文档限制范围之内。 |
|
400 |
IOTDA.000013 |
Invalid input. The parameter 'pageSize' multiply 'pageNo' exceeds the upper limit. |
查询范围查过最大限制。 |
请检查pageSize和pageNo参数的大小。 |
|
400 |
IOTDA.000014 |
Invalid input. The specified parameter 'nextToken' is out of range. |
请求中nextToken参数超过范围 |
请排查请求中的nextToken参数是否在文档的限制范围之内。 |
|
400 |
IOTDA.000017 |
Invalid input. The specified parameter 'limit' is out of range. |
请求中limit参数超过范围 |
请排查请中求的limit参数是否在文档的限制范围之内。 |
|
400 |
IOTDA.000018 |
Invalid input. The specified parameter 'marker' is out of range. |
请求中marker参数超过范围 |
请排查请求中的marker参数是否在文档的限制范围之内。 |
|
400 |
IOTDA.000030 |
Failed to register the resource in Stage. Please try again later. |
||
|
400 |
IOTDA.000031 |
Failed to unRegister the resource in Stage. Please try again later. |
||
|
400 |
IOTDA.000032 |
Failed to update the resource in Stage. Please try again later. |
||
|
400 |
IOTDA.001001 |
Invalid input for this application. |
应用参数不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.001004 |
AppId is not in request header. |
appId未在请求头设置 |
请参考文档在请求头设置对应的appId。 |
|
400 |
IOTDA.001011 |
Invalid input. The specified parameter 'app_id' is not present |
未携带参数app_id |
请在请求参数中携带app_id。 |
|
400 |
IOTDA.001012 |
Invalid input. The appId already exists. |
应用ID已存在 |
请更换应用ID。 |
|
400 |
IOTDA.001013 |
Invalid input. The sourceInstanceId and targetInstanceId can not be the same. |
源实例ID与目的实例ID不能相同 |
请检查实例ID是否正确。 |
|
401 |
IOTDA.000002 |
The request is unauthorized. |
鉴权失败 |
请排查请求中的鉴权参数是否携带正确。 |
|
401 |
IOTDA.000025 |
Sp User Authentication failed. |
SP Token鉴权失败 |
请检查sp token是否正确。 |
|
401 |
IOTDA.000026 |
Stage User Authentication failed. |
stage token鉴权失败。 |
请检查stage token是否正确。 |
|
401 |
IOTDA.001003 |
Incorrect AppId or secret. |
应用与密钥不匹配 |
请排查该密钥是否正确。 |
|
403 |
IOTDA.000004 |
Invalid access token. |
非法token |
请排查请求中的token是否正常。 |
|
403 |
IOTDA.000005 |
Refresh access token failed. |
刷新token失败 |
请排查请求中的refreshToken是否正确。 |
|
403 |
IOTDA.000015 |
The account is frozen. |
账户已被冻结 |
联系账户负责人进行解冻。 |
|
403 |
IOTDA.000021 |
Operation not allowed. User not found by IAM token or the authorized user has not subscribed IOTDA service. |
没有找到IAM Token所对应的用户信息或该用户没有订阅设备接入服务(IOTDA) |
请排查IAM Token所在用户是否订阅了设备接入服务(IOTDA)。 |
|
403 |
IOTDA.000022 |
Operation not allowed. The user does not have the permission |
该用户没有权限 |
请排查该用户是否有权限访问。 |
|
403 |
IOTDA.000023 |
Request reached the maximum rate limit %s |
请求已经达到限制速率 |
请降低请求频率, 该请求速率已达到限制。 |
|
403 |
IOTDA.000024 |
Operation not allowed. Only one token is allowed in the request header |
请求头只能放置一个Token域 |
请删除多余的token头域。 |
|
403 |
IOTDA.000028 |
System is being maintained, can not modify the configuration. |
系统正在维护,请稍后重试。 |
请稍后重试。 |
|
403 |
IOTDA.001000 |
The application does not exist. |
该应用不存在 |
请确定是否已在平台注册应用并检查应用ID是否正确。 |
|
403 |
IOTDA.001002 |
Operation not allowed. The application has not been authorized. |
该应用没有权限访问 |
请检查该应用是否已被授权。 |
|
403 |
IOTDA.001005 |
Operation not allowed. The parameter 'app_id' is not carried, and the authorized user has more than one applications. Include the parameter 'app_id', or contact Huawei technical support engineers to merge application data. |
该用户下有多个应用的情况下未携带appId访问接口 |
请携带对应的appId或联系华为工程师合并应用数据。 |
|
403 |
IOTDA.001006 |
Operation not allowed. Application not found by authorized user or the authorized user has no application. |
用户下没有应用或应用与用户不匹配 |
请排查用户下是否有应用或是否有指定的应用。 |
|
403 |
IOTDA.001007 |
Operation not allowed. The application does not belong to the authorized user. |
应用与用户信息不匹配 |
请排查该用户下是否有指定的应用。 |
|
403 |
IOTDA.001008 |
Operation not allowed. The app name already exists. |
应用名称已存在 |
请更换应用名称。 |
|
403 |
IOTDA.001009 |
Operation not allowed. The amount of application has reached the limit. |
应用数量已达到上限 |
请删掉多余的应用后注册,该用户应用数量已达到上限。 |
|
403 |
IOTDA.001010 |
Operation not allowed. The default app cannot be deleted. |
禁止删除默认应用。 |
禁止删除默认应用。 |
|
404 |
IOTDA.000016 |
Target not found |
未找到目标 |
请联系华为工程师分析解决。 |
|
404 |
IOTDA.000029 |
Invalid input. The path does not exist. |
请求路径不存在 |
请检查请求路径是否正确。 |
|
405 |
IOTDA.000003 |
The method is not supported. |
不支持该请求方式 |
请排查请求方式是否与文档中的保持一致。 |
|
405 |
IOTDA.000019 |
Method not allowed |
http请求中的请求方法不正确 |
请排查请求方法是否与文档中的保持一致。 |
|
500 |
IOTDA.000001 |
Internal server error. |
服务器内部错误 |
请联系华为工程师分析解决。 |
|
500 |
IOTDA.000007 |
The data in database is abnormal. |
数据库中的数据不正常 |
请联系华为工程师分析解决。 |
|
500 |
IOTDA.000020 |
Decrypt IAM token failed. |
IAM Token解析失败 |
请联系华为工程师分析解决。 |
|
500 |
IOTDA.000027 |
Stage Service Address is not config. |
未配置stage服务的ip地址 |
请在apollo上ExternalAddressConfig配置中配置stage服务的ip与端口 |
产品相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.013000 |
The product does not exist. |
产品不存在 |
请排查请求参数是否正确或产品是否已经在平台注册 |
|
400 |
IOTDA.013001 |
The serviceType of product does not exist. |
产品服务类型不存在 |
请排查该产品是否有服务类型,若没有,可调用修改产品接口添加服务类型。 |
|
400 |
IOTDA.013002 |
The properties of deviceServiceCapability do not exist. |
产品的属性不存在 |
请排查该产品是否有属性信息,若没有,可调用修改产品接口添加属性。 |
|
400 |
IOTDA.013003 |
Operation not allowed. The product is unavailable. |
未知的产品类型 |
请排查设备是否有产品ID, 若没有,可调用修改设备信息接口添加产品ID。 |
|
400 |
IOTDA.013005 |
The productName has been used in the same application. |
该应用下产品名已被使用 |
请更换产品名重新操作。 |
|
400 |
IOTDA.013008 |
The productId has been used in the same application. |
productId已在同一应用下使用 |
请更换productId后重试 |
|
400 |
IOTDA.013501 |
Invalid input. The topic_short_name is illegal, if the value of operation_type is not SUBSCRIBE, the value of topic_short_name cannot contain the number sign (#) or plus sign (+). |
topic_short_name参数不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.013502 |
Invalid input. The topic_short_name is duplicated under the same product. |
相同产品下topic_short_name参数重复 |
请重新添写topic_short_name后重试。 |
|
403 |
IOTDA.013004 |
Operation not allowed. You have no Write permission. |
您没有可写的权限 |
请排查您的产品属性是否是可写的,若不是,可调用修改产品的接口将属性改成可写。 |
|
403 |
IOTDA.013006 |
The product count of current application exceeds the upper limit. |
该应用下产品数量达到上限 |
请删除无用的产品后重试。 |
|
403 |
IOTDA.013007 |
Operation not allowed. The product has been used, forbid to delete. |
产品已被使用,禁止删除 |
请删除产品下的资源后再删除该产品。 |
|
403 |
IOTDA.013009 |
Operation not allowed. The default_value must belong to writable properties |
default_value必须属于可写属性 |
请通过修改产品的接口将该属性设置成可写。 |
|
403 |
IOTDA.013503 |
Operation not allowed. The number of topics in a product exceeds the upper limit(10). |
一个产品下的主题数量超过最大限制 |
请删除无用的主题后再重试。 |
|
404 |
IOTDA.013000 |
The product does not exist. |
产品不存在 |
请排查请求参数是否正确或产品是否已经在平台注册。 |
|
404 |
IOTDA.013500 |
The topic does not exist. |
该主题不存在 |
请联系华为工程师解。 |
设备相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.014001 |
Invalid input. The externalId parameter already exists. |
externalId参数已经存在 |
请更换externalId参数后重试。 |
|
400 |
IOTDA.014002 |
Invalid input. The type of externalId must be String. |
externalId参数的类型必须是String类型 |
请将externalId参数的类型改成String类型 |
|
400 |
IOTDA.014008 |
Invalid input. The nodeId is duplicated. |
nodeId重复 |
请更换nodeId后再重试。 |
|
400 |
IOTDA.014009 |
Invalid input. The deviceName is duplicated. |
deviceName重复 |
请更换deviceName后再重试。 |
|
400 |
IOTDA.014010 |
Invalid input. The secretDevice cannot be empty when authType is SECRET. |
当authType是SECRET时, secretDevice不能为空 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.014011 |
Invalid input. The secretEncryptionType cannot be empty when authType is MQTT. |
当authType为MQTT时,secretEncryptionType不能为空 |
请联系华为工程师分析解决 |
|
400 |
IOTDA.014012 |
Invalid input. The pskDevice cannot be empty when authType is PSK. |
authType为PSK时,pskDevice不能为空 |
请联系华为工程师分析解决 |
|
400 |
IOTDA.014013 |
Invalid input. The isSecure must be true. |
isSecure参数值必须为true |
请将isSecure参数设置成true。 |
|
400 |
IOTDA.014017 |
Invalid input. The serviceType does not exist. |
serviceType参数不存在 |
请检查serviceType参数与所属产品的serviceType是否相同。 |
|
400 |
IOTDA.014023 |
Gateway and sensor auth type is inconsistent |
网关和子设备的认证类型不一致。 |
请保证网关和子设备的认证类型一致。 |
|
400 |
IOTDA.014025 |
Invalid input. Invalid parameter 'serviceId'. |
serviceId不合法 |
请排查请求参数serviceId是否符合华为云文档要求 |
|
400 |
IOTDA.014027 |
Invalid input. The initialization cannot be empty when mode is INITIALIZATION. |
mode为INITIALIZATION时initialization参数不能为空 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.014028 |
Invalid input. The gateway is not online. |
网关不在线 |
请将网关设备接入后再重试。 |
|
400 |
IOTDA.014031 |
Invalid input. The device already exists. |
设备已存在 |
请更换参数后再重试。 |
|
400 |
IOTDA.014033 |
Invalid input. The secret must be hexadecimal characters when product's protocol type is CoAP. |
产品协议为CoAP时,密码必须为十六进制字符 |
请将密码格式改为十六进制的字符。 |
|
400 |
IOTDA.014034 |
Invalid input. The serviceId or eventType do not match. |
serviceId或eventType不匹配 |
请检查请求参数serviceId与eventType是否与profile中定义的相同。 |
|
400 |
IOTDA.014035 |
Invalid input. The size of extension_info has reach or exceed 1k. |
extension_info字段大小超过1K |
请将extension_info参数的大小限制在1K以内。 |
|
400 |
IOTDA.014043 |
Invalid input. The gateway is not exist. |
网关不存在 |
请检查请求参数中的gateway_id是否已经在平台注册。 |
|
401 |
IOTDA.014032 |
Invalid input. Timestamp do not match. |
时间不匹配 |
请联系华为工程师解决。 |
|
403 |
IOTDA.014003 |
Operation not allowed. The number of frozen devices has reached the limit. |
冻结设备的数量已达到上限 |
请将非必须冻结的设备解冻后再次冻结该设备或联系华为工程师处理。 |
|
403 |
IOTDA.014004 |
Operation not allowed. This device is online. |
设备已在线 |
请使用未在线的设备操作。 |
|
403 |
IOTDA.014005 |
Operation not allowed. This device is not active. |
设备未激活 |
请先将设备激活。 |
|
403 |
IOTDA.014006 |
Operation not allowed. The secret cannot be reset. |
密码无法被重置 |
NB设备无法重置密钥。 |
|
403 |
IOTDA.014007 |
Operation not allowed. The psk cannot be reset. |
PSK无法被重置 |
PSK无法被重置 |
|
403 |
IOTDA.014015 |
Operation not allowed. Exceeded the upper limit of concurrent location service requests. |
位置服务请求的并发超过上限 |
请降低接口调用频率。 |
|
403 |
IOTDA.014016 |
Operation not allowed. The device is not online. |
设备不在线 |
请将设备接入后再重试。 |
|
403 |
IOTDA.014018 |
Operation not allowed. The device has been frozen, can not be operated. |
设备已被冻结,不允许操作 |
请将设备解冻后再重试。 |
|
403 |
IOTDA.014019 |
Operation not allowed. The number of user's device has reached the limit. |
用户下的设备数量达到上限 |
请删除无用设备或联系华为工程师分析解决。 |
|
403 |
IOTDA.014020 |
Operation not allowed. The number of device bound to this application has reached the limit. |
应用下的设备数量超过最大上限 |
请删除无用设备或联系华为工程师分析解决。 |
|
403 |
IOTDA.014021 |
Operation not allowed. The number of device has reached the limit of ordered package. |
套餐下的设备数量超过最大上限 |
请删除无用设备或联系华为工程师分析解决。 |
|
403 |
IOTDA.014022 |
Operation not allowed. The number of license resource has reached the limit. |
许可证资源数量已达到上限 |
请联系华为工程师分析解决。 |
|
403 |
IOTDA.014024 |
Operation not allowed. The device already has endpoint. |
网关下存在子设备 |
请将网关下的子设备删除后再删除网关设备。 |
|
403 |
IOTDA.014026 |
Operation not allowed. The number of nonSecure device has reached the limit. |
非安全设备的数量已达到上限 |
请删除无用的非安全设备或联系华为工程师分析解决。 |
|
403 |
IOTDA.014029 |
Operation not allowed. Parameter 'timeout' cannot be modified when device has been activated. |
设备激活后不能修改timeout参数 |
请在未激活的设备下操作。 |
|
403 |
IOTDA.014036 |
Operation not allowed. The product of this device has not defined service capabilities |
该设备的产品未定义设备服务能力 |
请使用修改产品接口将该产品添加设备服务能力。 |
|
403 |
IOTDA.014037 |
Operation not allowed. The depth of this device has reached the limit. |
该设备深度已达到上限 |
请在其他设备下创建子设备。 |
|
403 |
IOTDA.014038 |
Operation not allowed. It is not allowed to freeze sub-devices, only gateways or directly connected devices can be frozen. |
禁止冻结子设备,只能冻结网关或者直连设备 |
请选择直连设备或者网关设备进行冻结。 |
|
403 |
IOTDA.014039 |
Operation not allowed. The device has already been frozen. |
设备已被冻结 |
请解冻设备后再进行操作。 |
|
403 |
IOTDA.014040 |
Operation not allowed. The device is not frozen, can not unfreeze. |
该设备未被冻结,无法解冻 |
请使用已冻结的设备进行解冻。 |
|
403 |
IOTDA.014041 |
Operation not allowed. The device does not belong to the currently connected gateway. |
该设备不属于当前连接的网关 |
请选择当前连接网关下的子设备进行操作。 |
|
404 |
IOTDA.014000 |
The device does not exist. |
设备不存在 |
请排查请求参数是否有误并确认是否有在平台注册该设备。 |
|
404 |
IOTDA.014014 |
The IMSI does not exist. |
IMSI参数值不能为空 |
请输入非空IMSI值后重试。 |
|
404 |
IOTDA.014042 |
The device access info is not exist. |
设备接入信息不存在 |
请检查设备是否接入平台并激活。 |
|
409 |
IOTDA.014030 |
The version of serviceId %s conflicts |
该serviceId的版本号冲突 |
请使用正确的版本号进行配置 |
命令相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
200 |
IOTDA.014111 |
Command request timeout. |
命令请求超时 |
请确认设备是否收到平台的请求并订阅正确的topic且回复正确的响应给平台。 |
|
400 |
IOTDA.014100 |
Invalid command status. |
无效的命令状态 |
请联系华为工程师解决。 |
|
400 |
IOTDA.014104 |
The device command has been canceled, expired or executed, cannot cancel. |
设备命令已被取消,到期或执行, 无法取消 |
请联系华为工程师解决 |
|
400 |
IOTDA.014105 |
Invalid parameter 'mode'. |
model参数不合法 |
请重新确认mode相关参数。 |
|
400 |
IOTDA.014107 |
Invalid input. Invalid parameter 'lifeCycle'. |
lifeCycle参数不合法 |
请联系华为工程师解决。 |
|
400 |
IOTDA.014108 |
Invalid parameter 'commandName'. |
commandName参数不合法 |
请检查serviceId,commandName参数是否与profile中的相一致。 |
|
400 |
IOTDA.014110 |
Invalid input. The format of parameter 'commandBody' is not the type of json. |
commandBody参数格式不是json格式 |
请确认请求中对应参数的是json格式。 |
|
400 |
IOTDA.014112 |
Send to device failed, device not subscribe topic. |
发送到设备失败,设备没有订阅该主题 |
请确认设备是否订阅正确的topic。 |
|
400 |
IOTDA.014113 |
Invalid input. The size of paras has exceeds max length. |
paras参数大小超过最大值 |
请减小请求中paras参数长度。 |
|
400 |
IOTDA.014114 |
The interface does not support MQTT protocol device. |
此接口不支持MQTT协议类型的设备 |
请更换为NB设备或使用支持MQTT协议的接口。 |
|
400 |
IOTDA.014115 |
The interface does not support NB-IoT device. |
此接口暂不支持NB-IoT设备 |
请采用下发异步设备命令接口。 |
|
403 |
IOTDA.014101 |
Command counts reached upper limit. |
命令数量达到上限 |
请等待缓存命令下发后再下发新命令,或增大缓存命令数。 |
|
403 |
IOTDA.014106 |
CommandBody for mqtt protocol is not correct. |
适用于mqtt协议的CommandBody不正确 |
请重新确认相关参数。 |
|
403 |
IOTDA.014109 |
Operation not allowed. The status of the command is not 'PENDING'. |
不允许操作,命令的状态不是PENDING |
请联系华为工程师解决。 |
|
404 |
IOTDA.014103 |
The device command does not exist. |
设备命令不存在 |
请确认请求参数是否正确。 |
|
429 |
IOTDA.014102 |
Congestion occurs, and the current network has been flow-controlled |
发生拥堵, 并且当前网络受到流量控制 |
,请联系华为工程师解决。 |
订阅相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.009002 |
The resource model does not exist. |
资源模型不存在 |
请确认请求参数中是否携带resource和event,或者notifyType。 |
|
400 |
IOTDA.009004 |
The subscription subject does not belong to current APP. |
该订阅记录不属于当前应用 |
请确认订阅记录和应用间的关系是否正确。 |
|
400 |
IOTDA.009005 |
The request callbackurl is invalid. |
请求中的callbackurl地址不合法 |
请排查请求中的callbackurl参数是否符合华为云文档要求。 |
|
400 |
IOTDA.009006 |
The subscription subject already exists. |
该订阅记录已经存在 |
该订阅已存在,无需再重复订阅。 |
|
400 |
IOTDA.009007 |
The request channel is invalid. |
请求中channel参数不合法 |
请排查请求中的channel参数是否符合华为云文档要求。 |
|
400 |
IOTDA.009009 |
The filter is invalid. |
filter不合法 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.009010 |
The resource does not match event. |
resource和event不匹配 |
请排查请求中resource与event参数是否符合华为云文档要求 |
|
403 |
IOTDA.009001 |
The count of subscription subject exceeds the limit. |
应用订阅记录数达到上限。 |
请删除多余订阅记录,该应用订阅数量已达到上线。 |
|
403 |
IOTDA.009008 |
The query count exceeds the upper limit. |
查询数量超过最大限制 |
请排查请求参数是否符合华为云文档要求。 |
|
404 |
IOTDA.009003 |
The subscription subject can not be found. |
查询不到该订阅记录 |
请确认请求中的参数是否正确。 |
升级相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.005002 |
Upgrade Failed. Invalid device version. |
升级失败,设备版本号不合法。 |
请确认设备上报版本号是否为空。 |
|
400 |
IOTDA.005003 |
Upgrade Failed. Version check fail. |
升级失败, 版本号校验失败 |
请将设备上报的版本号与软固件包的版本号保持一致。 |
|
400 |
IOTDA.005004 |
Upgrade Failed. Current version can not upgrade to the target version. |
升级失败,当前版本不能升级到目标版本 |
请确认设备上报的版本号与软固件包支持的源版本号是否一致。 |
|
400 |
IOTDA.005005 |
Upgrade Failed. Invalid update status. |
升级失败, 更新状态非法 |
请确认上报的更新状态是否正确。 |
|
400 |
IOTDA.005006 |
Upgrade Failed. ErrorCode: %s, description : %s. |
升级失败 |
请确认上报码流是否正确。 |
|
400 |
IOTDA.005007 |
Upgrade Failed. Device report invalid data. |
升级失败, 设备上报的数据格式不合法 |
请排查设备上报数据格式是否符合华为云文档要求 |
|
400 |
IOTDA.005008 |
Upgrade Failed. Report %d%% progress is invalid. |
升级失败, 上报升级进度不在0-100之内 |
请将上报升级进度约束在0-100之内。 |
|
400 |
IOTDA.005009 |
Upgrade Failed. Invalid result_code. |
升级失败, result_code不合法 |
请排查result_code值是否符合华为云文档要求 |
|
400 |
IOTDA.005010 |
Upgrade Failed. Waiting for %s timeout. |
升级失败,等待超时。 |
请设备及时回响应,由于设备没有及时回响应,导致任务超时失败。 |
|
400 |
IOTDA.005011 |
Upgrade Failed. Send %s command failed. |
升级失败,发送命令失败 |
请联系华为工程师分析解决。 |
|
403 |
IOTDA.005000 |
Operation not allowed. A device can only have one processing task at a time. |
一个设备同时只能开启一个任务 |
请手动操作任务结束或者等待当前任务完成后再开启另一个任务。 |
|
403 |
IOTDA.005001 |
Operation not allowed. Device protocolType is not support to upgrade. |
该设备的协议类型不支持升级 |
请联系华为工程师分析解决。 |
标签相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.004002 |
Invalid input. The tag_key %s cannot start with 'iot_'. |
标签的tag_key不能以iot_开头 |
请修改tag_key后进行操作。 |
|
400 |
IOTDA.004003 |
Invalid input. The tag_key %s does not exist. |
不存在此tag_key的标签 |
请确认传递的tag_key参数是否正确或是否存在该标签。 |
|
400 |
IOTDA.004004 |
Invalid input. The tag_key %s is duplicated in request params. |
标签的tag_key重复 |
请修改tag_key的值后再操作。 |
|
403 |
IOTDA.004001 |
Operation not allowed. Total number of existing tags and tags to add exceeds the upper limit 10. |
设备绑定的标签数量超过最大限制10 |
请删除多余的标签再进行绑定,该设备已绑定标签数达到最大限制。 |
|
404 |
IOTDA.004000 |
The resource does not exist. |
资源不存在 |
请确认请求参数是否正确。如deviceId, resourceId等。 |
批量任务相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.014201 |
Invalid input. The batch task name already exists. |
该任务名已存在 |
请更换任务名后重试。 |
|
400 |
IOTDA.014203 |
Invalid input. The document params is invalid, errorMsg : %s |
文档中的参数不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014204 |
Invalid input. The targets and targets_filter can not all be empty |
targets和targets_filter参数不能全部为空 |
请保证其中一个参数不为空。 |
|
400 |
IOTDA.014205 |
Invalid input. The targets_filter's key only support %s |
targets_filter参数的key只支持指定类型 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014207 |
Invalid input. The scheduleTime must be greater than the current time, up to %s days later |
开始时间不能早于当前时间,最晚启动事件不能超过指定天数 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014208 |
Invalid input. Parameter retry_count and retry_interval depend on each other and must be assigned at the same time |
retry_count和retry_interval参数互相依赖,并且必须同时分配 |
请保证retry_count和retry_interval参数同时不为空。 |
|
403 |
IOTDA.014202 |
Operation not allowed. The amount of unfinished task has reached the limit %s. |
未完成的任务数量达到上限 |
请在任务完成后重试。 |
|
403 |
IOTDA.014206 |
Operation not allowed. The amount of targets has reached the limit %s. |
targets的数量超过上限 |
请排查请求参数是否符合华为云文档要求。 |
|
404 |
IOTDA.014200 |
The batch task does not exist. |
该任务不存在 |
请确认请求参数是否正确。 |
规则相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.010000 |
Invalid input for this rule. |
规则参数不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.010001 |
The rule name already exists. |
规则名称已存在 |
请换一个规则名称再重试。 |
|
400 |
IOTDA.010004 |
Invalid parameter in the rule condition. |
规则条件不合法 |
请排查请求参数是否符合华为云文档要求 |
|
400 |
IOTDA.010005 |
Invalid parameter in the rule action. |
规则动作参数不合法 |
请排查请求中action参数是否符合华为云文档要求。 |
|
400 |
IOTDA.010006 |
Repeated condition ID in the same rule. |
规则条件ID重复 |
请重新命名规则条件ID后重试。 |
|
400 |
IOTDA.010007 |
Repeated action ID in the same rule. |
规则动作ID重复 |
请重新命名规则动作ID后重试。 |
|
400 |
IOTDA.010008 |
The device with this condition does not exist. |
规则条件中对应的设备不存在 |
请检查请求参数是否正确或设备在平台是否已经存在。 |
|
400 |
IOTDA.010009 |
The device with this action does not exist. |
规则动作中对应的设备不存在 |
请检查请求参数是否正确或设备在平台是否已经存在。 |
|
400 |
IOTDA.010010 |
The device data with this condition does not exist. |
规则条件中对应的设备信息不存在 |
请检查请求参数是否正确或设备在平台是否已经存在。 |
|
400 |
IOTDA.010011 |
The device data with this action does not exist. |
规则动作中对应的设备信息不存在 |
请检查请求参数是否正确或设备在平台是否已经存在。 |
|
400 |
IOTDA.010012 |
The tag with this condition does not exist. |
规则条件中对应的标签不存在 |
请检查请求参数是否正确或标签在平台是否已经存在 |
|
400 |
IOTDA.010013 |
Invalid rule parameter. |
规则参数不合法 |
请排查请求参数是否符合华为云文档要求 |
|
400 |
IOTDA.010014 |
Invalid input. The action parameter 'DEVICE_ALARM' can only be chosen with triggering condition of 'DEVICE_DATA'. |
DEVICE_ALARM类型的规则动作只允许创建在DEVICE_DATA类型的条件中 |
请在创建的DEVICE_ALARM类型的规则动作时,将条件类型设置为DEVICE_DATA规则条件 |
|
400 |
IOTDA.010015 |
The rule count of each user has reached the upper limit, the current up limit is 10 entries. |
用户下规则数量超过上限 |
请删除多余的规则后再注册。 |
|
400 |
IOTDA.010016 |
Invalid input. The action parameter 'DEVICE_ALARM' can only be chosen one. |
DEVICE_ALARM类型规则只允许创建一个 |
DEVICE_ALARM类型规则已存在,无需重复注册。 |
|
400 |
IOTDA.010017 |
Invalid input. The multiple conditions parameter 'device_id' and 'product_id' corresponding to type of 'DEVICE_DATA' cannot exist at the same time. |
在DEVICE_DATA类型的规则条件中不能同时存在product_id与device_id |
请确认DEVICE_DATA类型的规则条件中只存在device_id或product_id |
|
400 |
IOTDA.010018 |
Invalid input. The condition parameter 'device_id' and 'product_id' corresponding to type of 'DEVICE_DATA' cannot all null. |
在DEVICE_DATA类型的规则条件中product_id与device_id同时为空 |
请确认DEVICE_DATA类型的规则条件中device_id或product_id仅有一个为空 |
|
400 |
IOTDA.010019 |
The rule with this same condition is already exist. |
该规则条件的规则已经存在 |
规则已存在, 无需重复注册。 |
|
400 |
IOTDA.010021 |
Invalid parameter app_id |
app_id不合法 |
请确认请求中的app_id是否正确。 |
|
400 |
IOTDA.010022 |
the rule has no actions,can not active |
该规则没有规则动作, 无法激活 |
请通过修改规则的接口为该规则添加规则动作。 |
|
400 |
IOTDA.010023 |
the rule action with the same channeldetail is already exist |
规则动作中的channeldetail重复 |
规则已存在,无需重复注册或者删除无用规则后重试。 |
|
400 |
IOTDA.010024 |
Invalid input. Invalid address |
地址非法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.010025 |
Invalid input. Invalid username or password |
用户名或密码不合法 |
请排查请求参数username与password是否符合华为云文档要求。 |
|
400 |
IOTDA.010026 |
Invalid input. The streamId or streamName is empty |
通道ID或通道名不存在 |
请排查请求参数streamId与streamName是否符合华为云文档要求。 |
|
400 |
IOTDA.010027 |
Invalid input. Failed to query the channel. |
查询通道失败 |
请排查请求参数是否与实际云服务产品参数一致。 |
|
400 |
IOTDA.010028 |
Invalid input. Invalid log_group_id or log_stream_id |
日志组ID或日志流ID不合法 |
请排查请求参数log_group_id与log_stream_id是否符合华为云文档要求。 |
|
400 |
IOTDA.010029 |
Invalid input. Invalid func_urn |
函数的URN不合法 |
请排查请求参数func_urn是否符合华为云文档要求。 |
|
400 |
IOTDA.010030 |
Invalid input. connection db failed. |
流转数据库连接失败 |
请排查请求数据库连接参数是否符合华为云文档要求。 |
|
400 |
IOTDA.010031 |
Invalid input. The table name is not exist. |
流转数据库表格不存在 |
请排查请求table_name是否符合华为云文档要求。 |
|
403 |
IOTDA.010003 |
The number of rules has reached the upper limit. |
规则数量已达到上限 |
请删除多余的规则后重试。 |
|
404 |
IOTDA.010002 |
The rule does not exist. |
该规则不存在 |
请确认平台是否存在该规则或请求参数是否正确。 |
|
404 |
IOTDA.010020 |
The rule action is not exist. |
规则动作不存在 |
请检查请求参数是否正确。 |
消息相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.014130 |
Invalid input. The messageId of device is not unique. |
设备的messageId不唯一 |
请修改commandId。 |
|
400 |
IOTDA.014150 |
Invalid input. The topic have no permission. |
非法的输入, 该主题没有权限 |
请检查topic参数,确保topic输入正确。 |
|
400 |
IOTDA.014151 |
Invalid input. The input of topic related is duplicated. |
非法的输入, topic相关的参数重复 |
请确保请求体中topic字段与topic_full_name字段只有一个被输入。 |
|
403 |
IOTDA.014133 |
Operation not allowed. The topic has no 'SUBSCRIBE' permission. |
操作不允许,该主题没有SUBSCRIBE权限 |
请联系华为工程师解决。 |
|
404 |
IOTDA.014131 |
The message does not exist. |
该消息不存在 |
请联系华为工程师解决。 |
设备组相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
403 |
IOTDA.003002 |
Operation not allowed. The group name has been exist. |
设备组名称已被使用 |
请更换设备组名称后重试,该设备组名称已被使用。 |
|
403 |
IOTDA.003003 |
Operation not allowed. The number of group has reach or exceed 1000. |
设备组数量已达到最大上限1000个 |
请删除多余设备组后重试,该设备组数量已达上线。 |
|
403 |
IOTDA.003004 |
Operation not allowed. The deep of group has reach or exceed 5. |
该设备组深度已达上限,不允许再次注册子设备组 |
请更换深度较小的父设备组的ID进行注册,该群组深度已达上限,不允许再注册子群组。 |
|
403 |
IOTDA.003005 |
Operation not allowed. The device to be added has been exist in the group. |
该设备在设备组中已存在 |
该设备在设备组中已存在,无需再次添加。 |
|
403 |
IOTDA.003006 |
Operation not allowed. The device to be deleted not exist in the group. |
该设备在设备组中不存在 |
该设备在设备组中不存在,无需删除。 |
|
403 |
IOTDA.003007 |
Operation not allowed. The number of devices in this group has reached or exceed 20000. |
设备组中的设备数量达到最大限制20000 |
请删除多余设备或更换群组。 |
|
403 |
IOTDA.003008 |
Operation not allowed. The number of groups added this device has reached or exceed 10. |
一个设备最多只能添加到10个设备组中 |
请将该设备从多余的群组中删除后重试,该设备所在群组已达到最大限制。 |
|
403 |
IOTDA.003009 |
Operation not allowed. The group to be deleted is super group of other groups, all sub groups must be deleted before delete this group. |
该设备组为其他设备组的父设备组,若想删除此群组,需先删除其子设备组 |
请先删除该群组下的所有子设备组,再删除该设备组。 |
|
403 |
IOTDA.003010 |
Operation not allowed. The group to be deleted contains devices, all devices in this group must be deleted before delete this group. |
该群组下存在设备,禁止删除 |
请先删除该设备组下的所有设备,再删除该设备组。 |
|
403 |
IOTDA.003011 |
Operation not allowed. The group and the device does not belong to the same application. |
群组和设备不属于同一个应用。 |
请使用相同应用下的群组和设备进行操作。 |
|
404 |
IOTDA.003000 |
The group does not exist. |
群组不存在 |
请确认是否有该设备组或设备组参数是否携带正确。 |
|
404 |
IOTDA.003001 |
The super group does not exist. |
父级设备组不存在 |
请确认是否有该设备组或设备组参数是否携带正确。 |
设备证书相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.014300 |
Operation not allowed. The amount of certificates has reached the limit. maximum: %s |
证书数量达到上限 |
请删除无用证书或联系华为工程师分析解决。 |
|
400 |
IOTDA.014301 |
Invalid certificate content |
证书内容不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014302 |
Invalid input. The certificates already exists. certificate_id: %s |
证书已存在 |
该证书已存在,无需重复导入。 |
|
400 |
IOTDA.014303 |
Operation not allowed. The certificates upload failed |
证书上传失败 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.014304 |
Operation not allowed. The certificates delete failed |
证书删除失败 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.014305 |
Operation not allowed. The certificates query failed |
证书查询失败 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.014307 |
Operation not allowed. The certificates verify verifyCode failed |
证书验证码校验失败 |
请确认请求参数是否正确。 |
|
400 |
IOTDA.014308 |
Operation not allowed. The certificates verify path failed |
校验证书路径失败 |
请联系华为工程师分析解决。 |
|
400 |
IOTDA.014309 |
The certificates is expired or to expire, expiry date must be seven days than current date |
证书即将过期或已过期 |
请重新申请有效证书 |
|
400 |
IOTDA.014310 |
The certificates file cannot be larger than 1MB and file name must match pattern ^[.a-zA-Z0-9_-]{1,255}$ |
证书文件不能大于1MB且文件名必须符合^[.a-zA-Z0-9_-]{1,255}$正则 |
请重新上传符合条件的证书 |
|
400 |
IOTDA.014311 |
The certificate is in use and cannot be deleted. |
该证书正在使用中无法删除 |
请解除证书关联后再删除 |
|
404 |
IOTDA.014306 |
The certificates does not exist. |
证书不存在 |
请确认请求参数是否正确。 |
批量任务文件相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.014602 |
Invalid input. The batch task file name already exists. |
批量任务文件名已存在 |
请更换文件名后重试。 |
|
400 |
IOTDA.014603 |
Invalid input. The size of batch task file exceeds the upper limit. |
批量任务文件的大小超过最大限制 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014604 |
Invalid input. The number of batch task file lines exceeds the upper limit. |
批量任务文件行数超过最大限制 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014605 |
Invalid input. The resource-suffix of batch task file is wrong. |
批量任务文件后缀名错误 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014606 |
Invalid input. The batch task file name is illegal. |
批量任务文件名不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.014608 |
Invalid input. The content of batch task file is invalid. |
批量任务文件内容不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
403 |
IOTDA.014601 |
Operation not allowed. The batch task file count of current user exceeds the upper limit. |
当前用户下的批量任务文件数达到上限 |
请删除多余文件后重试。 |
|
403 |
IOTDA.014607 |
Operation not allowed. The batch task file is in use, cannot be deleted. |
该批量任务文件正在使用,不能被删除 |
请等待任务完成后再操作。 |
|
404 |
IOTDA.014600 |
The batch task file does not exist. |
批量任务不存在 |
请确认请求参数是否正确。 |
AMQP队列相关错误码
|
HTTP状态码 |
错误码 |
错误码英文描述 |
错误码中文描述 |
处理建议 |
|---|---|---|---|---|
|
400 |
IOTDA.016000 |
Invalid input, Repeated queue name in the same spUserName. |
队列名称在该用户下已存在 |
请更换队列名称后重试。 |
|
400 |
IOTDA.016004 |
The queue name is invalid |
队列名称不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.016005 |
The amqp access config is invalid |
amqp对接配置不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.016006 |
The http access config is invalid |
http对接配置不合法 |
请排查请求参数是否符合华为云文档要求。 |
|
400 |
IOTDA.016008 |
The integration config already exist |
对接配置已存在 |
请排查请求参数是否符合华为云文档要求。 |
|
403 |
IOTDA.016001 |
Operation not allowed, The queues amount exceeds limit amount of each spUserName. |
队列数量已达到用户最大配额 |
请联系华为工程师分析解决。 |
|
403 |
IOTDA.016003 |
Operation not allowed, the queue is using |
该队列已被使用 |
请取消该队列相应的订阅后再进行操作。 |
|
404 |
IOTDA.016002 |
The queueId does not exist. |
队列ID不存在 |
请确认请求参数是否正确。 |
Last Article: 获取项目ID
Next Article: 设备侧MQTT接口参考
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.