Open gemingzhe opened 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 这个需要怎么解决
我也是这个问题,登录失败了,小米账号和密码没问题,登录返回的数据中没有userId,可能和小米账号有关系,你解决了嘛?
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 这个需要怎么解决