MiService icon indicating copy to clipboard operation
MiService copied to clipboard

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

Open gemingzhe opened this issue 2 years ago • 1 comments

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 这个需要怎么解决

gemingzhe avatar Mar 25 '23 13:03 gemingzhe

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

hujinttao avatar Mar 28 '23 07:03 hujinttao