-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Open
Labels
IM: wecom企业微信 适配器相关 / WeCom and WeComCS adapter related企业微信 适配器相关 / WeCom and WeComCS adapter relatedeh: Improveenhance: 现有功能的改进 / improve current featuresenhance: 现有功能的改进 / improve current features
Description
This is a?
Existing feature improvement
Detailed description
目前把企业微信应用共享给上下游企业,然后在上下游企业的应用发送消息,会报以下错误
^[[31m[12-22 14:54:34.474] pipelinemgr.py (254) - [ERROR] : Error processing query 4 stage=SendResponseBackStage : Failed to send message: {'errcode': 301002, 'errmsg': 'not allow operate another agent with this accesstoken., hint: [1766386474184591410918595], from ip: ***.***.***.***, more info at https://open.work.weixin.qq.com/devtool/query?e=301002'}^[[0m
^[[31m[12-22 14:54:34.475] pipelinemgr.py (255) - [ERROR] : Traceback: Traceback (most recent call last):
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 251, in process_query
await self._execute_from_stage(0, query)
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 217, in _execute_from_stage
await self._execute_from_stage(i + 1, query)
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 217, in _execute_from_stage
await self._execute_from_stage(i + 1, query)
File "/app/src/langbot/pkg/pipeline/pipelinemgr.py", line 190, in _execute_from_stage
result = await result
^^^^^^^^^^^^
File "/app/src/langbot/pkg/pipeline/respback/respback.py", line 52, in process
await query.adapter.reply_message(
File "/app/src/langbot/pkg/platform/sources/wecom.py", line 199, in reply_message
await self.bot.send_private_msg(fixed_user_id, Wecom_event.agent_id, content['content'])
File "/app/src/langbot/libs/wecom_api/api.py", line 219, in send_private_msg
raise Exception('Failed to send message: ' + str(data))
Exception: Failed to send message: {'errcode': 301002, 'errmsg': 'not allow operate another agent with this accesstoken., hint: [1766386474184591410918595], from ip: ***.***.***.***, more info at https://open.work.weixin.qq.com/devtool/query?e=301002'}
相关适配文档:https://developer.work.weixin.qq.com/document/path/97213
Metadata
Metadata
Assignees
Labels
IM: wecom企业微信 适配器相关 / WeCom and WeComCS adapter related企业微信 适配器相关 / WeCom and WeComCS adapter relatedeh: Improveenhance: 现有功能的改进 / improve current featuresenhance: 现有功能的改进 / improve current features