全局错误码

更新时间:2023-10-09 01:57:20下载pdf

当调用接口发生错误时,会返回自定义错误信息。本文介绍全局错误码的含义。

如果您需要更多帮助,请 提交工单 获取涂鸦技术支持。

错误码 错误信息 说明
500 system error,please contact the admin 系统错误,请联系管理员。
1000 data not exist 数据不存在。
1001 secret invalid 非法密钥。
1002 access_token is null 访问令牌为空。
1003 grant type invalid 无效的 Grant 类型。
1004 sign invalid 无效的签名。
1005 Appkey invalid 无效的 Appkey。
1006 not support content type 不支持的 Content 类型。
1007 not support Appkey 不支持 Appkey,请使用云端 Key。
1010 token is expired Token 已过期。
1011 token invalid 无效的 Token。
1012 token status is invalid 无效的 Token 状态。
1013 request time is invalid 无效的请求时间。
1100 params is empty 参数为空。
1101 params range invalid 无效的参数范围。
1102 params is null 参数为 Null。
1103 commands issue error 指令下发失败。
1104 type is incorrect 类型错误。
1105 missing the header 缺少 Header。
1106 permission deny 权限受限。
1107 code invalid 无效的代码。
1113 please upgrade to the commercial version. 体验用户超 10 人,请升级至商业版
2001 device is offline 设备已离线。
2002 this user does not have any devices 用户账号下无设备。
2003 function not support 不支持的指令。
2004 not support the lock type 不支持的锁类型。
2005 product not exist 产品不存在。
2006 user not exist 用户不存在。
2007 device token expired 设备 Token 过期。
2008 command or value not support 不支持的指令或值。
2009 not support this device 不支持此类设备。
2010 device not exist 设备不存在。
2012 application not support 不支持的应用。
2013 add timer failed 添加定时任务失败。
2014 this device does not have any timers 设备无定时任务。
2015 this category is not supported 不支持的分类。