Skip to content

Cannot clear group description #201670

@hcfw007

Description

@hcfw007

Issue Description

When updating group description to empty string, always result in timeout. Updating to other string is fine.

Reproduction Steps

  1. Get a room with Client.getChatById()
  2. call room.setDescription('')

Code Sample

client.on('ready', async () => {
    console.log('READY');
    const debugWWebVersion = await client.getWWebVersion();
    console.log(`WWebVersion = ${debugWWebVersion}`);

client.pupPage.on('pageerror', function (err) {
        console.log('Page error: ' + err.toString());
    });
    client.pupPage.on('error', function (err) {
        console.log('Page error: ' + err.toString());
    });

const room = await client.getChatById('xxxxxx@g.us');
    const result = await room.setDescription('');
    console.log(result);
});

User Setup

WhatsApp Type
Account Type WhatsApp Business
Authentication Strategy LocalAuth
WhatsApp Web Version 2.3000.1035325481
whatsapp-web.js Version 1.34.6
Environment Version
Browser Type Chromium
Browser Version 143.0.7499.169
Phone OS Version Android 16
Running OS Version macOs Tahoe
Node.js Version 22.5.1

Checklist

  • I use the latest released version of whatsapp-web.js.
  • I have searched existing issues and confirmed this is not a duplicate.
  • I have verified this is a library issue, not a problem with my code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething is brokenissued mediumMedium impact issuetypingsType definitions

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions