Skip to content

[Bug]: Feishu channel may send duplicate replies when sender-name permission lookup fails (99991672) #27372

@DoggieSun

Description

@DoggieSun

Summary

Feishu channel may send duplicate replies when sender-name permission lookup fails (99991672)

Steps to reproduce

  1. Configure Feishu bot normally.
  2. Do not grant sender-name related contact scope(s), e.g.:
  • contact:contact.base:readonly
  • contact:contact:access_as_app
  • contact:contact:readonly
  • contact:contact:readonly_as_app
  1. Send one DM message to the bot.

Expected behavior

Single user message should result in a single user-visible reply path, even when sender-name lookup fails.

Actual behavior

One user message can trigger two bot replies (or two dispatch paths), because:

  • normal user message dispatch runs, and
  • permission error notification is dispatched as a separate agent turn.

Related log patterns:

  • permission error resolving sender name: code=99991672
  • dispatching permission error notification to agent
  • dispatching to agent (session=...)

OpenClaw version

2026.2.24 (df9a474)

Operating system

macOS (Apple Silicon)

Install method

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions