Yonsm / MiService

XiaoMi Cloud Service for mi.com
MIT License
662 stars 201 forks source link

File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/miservice/miaccount.py", line 71 #29

Open gemingzhe opened 1 year ago

gemingzhe commented 1 year ago

micli list
Exception on login 132***'userId' Traceback (most recent call last): File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/miservice/miaccount.py", line 71, in login self.token["userId"] = resp["userId"] KeyError: 'userId' Error https://api.io.mi.com/app/home/device_list: Login failed MacOS,intel 这个需要怎么解决

hujinttao commented 1 year ago

我也是这个问题,登录失败了,小米账号和密码没问题,登录返回的数据中没有userId,可能和小米账号有关系,你解决了嘛?