Skip to content

The "getContactById" function cannot be used. #4003

@2622594863

Description

@2622594863

Is there an existing issue for this?

  • I have searched the existing issues.

Is this a problem caused by your code, or is it specifically because of the library?

  • I have double-checked my code carefully.

Describe the bug.

Image
"puppeteer": "^24.31.0",
"whatsapp-web.js": "^1.34.2"

Expected Behavior

The "getContactById" function cannot be used.

Steps to Reproduce the Bug or Issue

The "getContactById" function cannot be used.
const o = await client.getContactById('85257815655')

WhatsApp Account Type

Standard

Browser Type

chrome.exe

Operation System Type

windows

Phone OS Type

windows

WhatsApp-Web.js Version

^1.34.2

WhatsApp Web Version

2.3000.1030540111

Node.js Version

22.17.0

Authentication Strategy

LocalAuth

Additional Context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions