Closed willin closed 2 years ago
I get the above 莫名其妙异常失败 as well, it's not only limited to 通过手机号查找联系人, as I never did that.
遇到相同的问题,请问有解决了吗?
因为搜索这个用户不存在或是没有全新啊,比较难深度处理,所以报了 wechat bad request error
的错误。
可以再搜索用户到时候尝试 catch 这个异常。
运行
contact: Contact = await self.Friendship.search( phone='183********' )
await contact.ready()
报这个错误
2022-09-02 13:54:14,474 - FriendShip - INFO - search() <<class 'abc.Friendship'>, None, 183********>
2022-09-02 13:54:14,976 - Wechaty - ERROR - internal error <'NoneType' object has no attribute 'ready'>
我运行Friendship.search就没成功过,想知道这个功能现在还能用吗?还是说不稳定?
search using some specific param values occurs: