Skip to content

Expose actionable WebJS send failure details for ACK_ERROR #2187

Description

@shaqman

The WebJS message_ack event provides (message, ack), but WAHA currently derives the acknowledgement from the message model and does not expose a useful failure reason. This makes a send that returns successfully from the API but later receives ACK_ERROR difficult to diagnose.\n\nRequested improvement:\n- Preserve the acknowledgement emitted with the event.\n- Include bounded ackReason details when WebJS provides an error message.\n- Provide a clear fallback when WhatsApp supplies no reason.\n- Log only message ID, destination, acknowledgement, and normalized reason.\n\nThis is particularly useful for intermittent delivery failures and contact/LID edge cases.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions