errcode |
errmsg |
description |
0 |
none error message |
表示成功或是 |
1 |
failed |
表示失敗或否 |
-3 |
Invalid Parameter. |
參數錯誤 |
10000 |
invalid client_id |
client_id不存在 |
10001 |
invalid client |
無效的client,client_id或client_secret錯 |
10002 |
invalid code |
無效的code或code已失效 |
10003 |
invalid token |
token不存在 |
10004 |
invalid grant |
token無授權,token已失效或被撤銷授權 |
10005 |
invalid grant_scope |
token許可權不在範圍內 |
10006 |
invalid username |
未審覈的app,只能由特定的測試帳號授權 |
10007 |
invalid account |
username或password錯誤 |
10008 |
invalid redirect_uri |
redirect_uri無效,必須和應用資訊裡保持一致 |
10009 |
unsupported response_type |
請求的response_type型別未被支援 |
10010 |
unsupported grant_type |
請求的grant_type型別未被支援 |
10011 |
invalid refresh_token |
refresh_token無效 |
20000 |
invalid openid |
openid無效 |
20001 |
not lock user |
使用者不是鎖的鑰匙擁有者 |
20002 |
not lock admin |
不是鎖管理員 |
20003 |
invalid key |
鑰匙id和鎖id還有使用者的對應關係錯誤 |
20004 |
not exists key |
鑰匙不存在 |
20005 |
backupkey password error |
備份鑰匙的密碼錯誤 |
20006 |
not exists receiver |
接收方不存在 |
20007 |
invalid keyboardPwdVersion |
鍵盤密碼版本無效,有效值:1、2、3、4 |
20008 |
invalid lockname |
鎖名稱無效 |
30001 |
Do not have permission |
沒有該介面的許可權 |
30002 |
invalid registered username |
使用者名稱只能包含數字和字母 |
30003 |
existing registered users |
使用者已存在 |
30004 |
invalid userid to delete |
要刪除的使用者的userid不合法 |
30005 |
not the user of custom app |
不是定製App的使用者 |
30006 |
exceeds the restrictions of API call number |
超過介面呼叫次數限制 |
80000 |
date must be current time |
請求時間必需為目前時間前後五分鐘以內 |
80002 |
invalid json format |
JSON格式不正確 |
90000 |
internal server error |
系統內部錯誤 |
-2012 |
The Lock is not connected to any Gateway. |
鎖附近沒有可用的閘道器 。 |
-2018 |
Permission Denied. |
沒有許可權。 |
-4056 |
Run out of memory. |
儲存空間已滿,操作失敗。 |