wechaty / python-wechaty

Python Wechaty is a Conversational RPA SDK for Chatbot Makers written in Python
https://wechaty.readthedocs.io/zh_CN/latest/
Apache License 2.0
1.56k stars 229 forks source link

企业微信的token能使用添加好友的功能嘛?每次使用都报错 #232

Open liqiongyu opened 3 years ago

liqiongyu commented 3 years ago

目前的使用大概如此:

friend: Contact = await self.Friendship.search(phone='18954072510')
if friend:
    await self.Friendship.add(friend, hello='hello, I"m Bob.')

没有成功过,都是报错: GRPCError: (<Status.INTERNAL: 13>, 'TIMEOUT: RequestId: MT_QUERY_USER_INFO_MSG, counter: 2', None)

wj-Mcat commented 3 years ago

This issue is related to the wxwork puppet, you should post an here. Hope that can help you.

liqiongyu commented 3 years ago

@su-chang 是在这边嘛。这边的人让我在 wxwork-tester 发呢

su-chang commented 3 years ago

如果方便的话最好用NodeJs版本的wechaty尝试下。顺便把对应的详细日志追加到这里一份。我们可以一起看下。

wj-Mcat commented 2 years ago

@liqiongyu Is there any updates in this issue? Have you found the problem?