Skip to content

米家后台服务接口错误码对照表

Xiaomi-Yule edited this page Jul 22, 2020 · 2 revisions

后台开发服务接口常见错误码:

-705001000: “generic internal error”
-706012000: “generic internal error”
-705004000: “generic internal error”
-705005000: “subscriptionId encode error”
-705006000: “notify error”
-704002000: “generic device error”

-702000000: “OK”
-702010000: “accept”

-704010000: “generic unauthorized”

-704002000: “invalid param”
-704000000: “bad request”
-704000001: “bad request body”
-704001000: “timer only support mi device”

-702022036: “trigger scene processing”
-704042010: “trigger scene error”
-704042009: “scene not found”
-704042012: “scene no permit”

-702022036: “get device list processing”
-704042010: “get device list error”
-704090001: “device not found”
-704042001: “device not found”
-704042011: “device offline”

-704012901: “token not exist or expired”
-704012902: “token invalid”
-704012903: “authorized expired”
-704012904: “device unauthorized”
-704012905: “device not bind”
-704012906: “miot oauth failed”

-704040002: “service not found”

-706010002: “remote service error”
-706012000: “3rd cloud bad response”
-706010004: “generic miot error”
-706010005: “property cache error”

-704040003: “property not found”
-704030013: “property cannot read”
-704030023: “property cannot write”
-704030033: “property cannot notify”
-704030992: “request too frequent deniedRequest”
-704220043: “invalid property value”

-705201013: “property read error”
-706012013: “property read error”
-706012014: “property read not response”
-705201023: “property write error”
-706012023: “property write error”
-702022036: “property write processing”
-705201033: “property notify error”
-706012033: “property notify error”
-706012043: “subscribe error”

-704040004: “event not found”
-704222034: “event arguments count mismatch”
-704222034: “event arguments error”

-704040005: “action not found”
-702022036: “action execute processing”
-705201015: “action execute error”
-706012015: “action execute error”
-704220035: “action arguments error”
-704220025: “action arguments count mismatch”
-704222035: “action results count mismatch”
-704222035: “action results error”

-704044006: “spec not fount”
-705204006: “invalid specification”
-705204007: “instance not loaded”

-704041007: “cloud not fount”

-704220008: “invalid id”
-704220009: “invalid UDID
-704220010: “invalid subscriptionId”

-704053100: “Unable to perform this operation”
-704083036: “operation timeout”
-704040999: “not implemented”
-704013101: “ir device not support operation”
-704053101: “camera device sleeping”

Clone this wiki locally