| 错误码 | 错误码说明 | 错误描述 |
|---|---|---|
| 000000 | onenet_common_success | 请求成功 |
| 000001 | onenet_common_unauthorized | 缺少鉴权参数 |
| 000002 | onenet_common_authFailed | 鉴权失败 |
| 000003 | onenet_common_apiRateLimit | 用户调用频次达到上限 |
| 000004 | onenet_common_notFound | 服务中无此资源路径 |
| 000005 | onenet_common_methodNotAllowed | HTTP方法不支持 |
| 000006 | onenet_common_paramRequired | 缺少必要参数 |
| 000007 | onenet_common_invalidParam | 无效的参数 |
| 000008 | onenet_common_invalidJson | 无效的json格式 |
| 000009 | onenet_common_quotaUsedUp | 调用次数用尽 |
| 000010 | onenet_common_badRequest | 客户端请求错误 |
| 000020 | onenet_common_internalServerError | 系统异常,请稍后重试 |
| 000021 | onenet_common_serviceUnavailable | 服务不可用 |
| 错误码 | 错误码说明 | 错误K描述 |
|---|---|---|
| 001000 | onenet_auth_prodNotFound | 产品未找到 |
| 001001 | onenet_auth_devNotFound | 设备未找到 |
| 001002 | onenet_auth_devKeyFormatError | mqtts设备鉴权key格式有误 |
| 001010 | onenet_auth_serviceUnavailable | 鉴权服务暂不可用 |
| 001011 | onenet_auth_serviceInternalError | 鉴权服务内部错误 |
| 错误码 | 错误码说明 | 错误描述 |
|---|---|---|
| 002001 | onenet_image_illegalJson | 非法json |
| 002002 | onenet_image_jsonOutOfBound | json体数据量超限 |
| 002003 | onenet_image_jsonOutOfDepth | json体层次超限 |
| 002004 | onenet_image_noStateKey | json中未包含key:state |
| 002005 | onenet_image_noDesiredOrReportedKey | json中未包含key:desired或repored |
| 002010 | onenet_image_serviceInternalError | 设备镜像服务内部错误 |
| 002011 | onenet_image_serviceUnavailable | 设备镜像服务暂不可用 |