Skip to content

[Bug]: sessions_send announce fails in Feishu group: passes group ID as user_id #31426

@dxygit1

Description

@dxygit1

Bug type

Behavior bug (incorrect output/state without crash)

Summary

{"0":"[error]: [\n [\n {\n message: 'Request failed with status code 400',\n config: [Object],\n request: [Object],\n response: [Object]\n },\n {\n code: 99992360,\n msg: 'The request you send is not a valid {user_id} or not exists, and the example value is {64*******87}. Invalid ids: [group:oc_524f00307b58bc1da7bbd046afed326f] . Please see field_violations for details and refer to API documentation to correct accordingly and resubmit',\n error: [Object],\n message: 'Refer to the documentation to fix the error: https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-user-id',\n log_id: '20260302152551BECBF97455280C95FDEE',\n troubleshooter: '排查建议查看(Troubleshooting suggestions): https://open.feishu.cn/search?from=openapi&log_id=20260302152551BECBF97455280C95FDEE&code=99992360&method_id=6936075528891154460',\n field_violations: [Array]\n }\n ]\n]","_meta":{"runtime":"node","runtimeVersion":"22.22.0","hostname":"unknown","name":"openclaw","date":"2026-03-02T07:25:51.559Z","logLevelId":3,"logLevelName":"INFO","path":{"fullFilePath":"file:///home/admin/.npm-global/lib/node_modules/openclaw/dist/subsystem-DypCPrmP.js:1010:46","fileName":"subsystem-DypCPrmP.js","fileNameWithLine":"subsystem-DypCPrmP.js:1010","fileColumn":"46","fileLine":"1010","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-DypCPrmP.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-DypCPrmP.js:1010","method":"console.log"}},"time":"2026-03-02T07:25:51.559Z"}

Steps to reproduce

1、双通道
2、两个机器人拉群,然后机器人A调用机器人B

Expected behavior

正常预期是机器A发消息在群里。 机器人B发消息 机器人A整理总结发出消息。

Actual behavior

机器A发出消息调度B

机器人B 发消息失败报错

机器人A整理总结发出消息。

OpenClaw version

2026.3.1

Operating system

Ubuntu 24.04.4 LTS

Install method

npm

Logs, screenshots, and evidence

{"0":"[error]: [\n  [\n    {\n      message: 'Request failed with status code 400',\n      config: [Object],\n      request: [Object],\n      response: [Object]\n    },\n    {\n      code: 99992360,\n      msg: 'The request you send is not a valid {user_id} or not exists, and the example value is {64*******87}. Invalid ids: [group:oc_524f00307b58bc1da7bbd046afed326f] . Please see field_violations for details and refer to API documentation to correct accordingly and resubmit',\n      error: [Object],\n      message: 'Refer to the documentation to fix the error: https://open.feishu.cn/document/uAjLw4CM/ugTN1YjL4UTN24CO1UjN/trouble-shooting/how-to-obtain-user-id',\n      log_id: '20260302152551BECBF97455280C95FDEE',\n      troubleshooter: '排查建议查看(Troubleshooting suggestions): https://open.feishu.cn/search?from=openapi&log_id=20260302152551BECBF97455280C95FDEE&code=99992360&method_id=6936075528891154460',\n      field_violations: [Array]\n    }\n  ]\n]","_meta":{"runtime":"node","runtimeVersion":"22.22.0","hostname":"unknown","name":"openclaw","date":"2026-03-02T07:25:51.559Z","logLevelId":3,"logLevelName":"INFO","path":{"fullFilePath":"file:///home/admin/.npm-global/lib/node_modules/openclaw/dist/subsystem-DypCPrmP.js:1010:46","fileName":"subsystem-DypCPrmP.js","fileNameWithLine":"subsystem-DypCPrmP.js:1010","fileColumn":"46","fileLine":"1010","filePath":".npm-global/lib/node_modules/openclaw/dist/subsystem-DypCPrmP.js","filePathWithLine":".npm-global/lib/node_modules/openclaw/dist/subsystem-DypCPrmP.js:1010","method":"console.log"}},"time":"2026-03-02T07:25:51.559Z"}

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingbug:behaviorIncorrect behavior without a crash

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions