Skip to content

empty pushName returned by {{baseUrl}}/chat/findChats/ and {{baseUrl}}/chat/findContacts/ #2004

@igorcb123

Description

@igorcb123

Welcome!

  • Yes, I have searched for similar issues on GitHub and found none.

What did you do?

While testing the Evolution API endpoints using Postman, I noticed that the /chat/findContacts endpoint does not return contact names (pushName) for contacts that have names visible in WhatsApp Web and mobile app. This occurs in both bulk queries and individual queries with filters.

Problem Description
The /chat/findContacts endpoint fails to populate the pushName field with the actual contact name, even when the contact has a name set in WhatsApp. This makes it impossible to retrieve contact names programmatically via the API.

What did you expect?

The response should include the contact's name in the pushName field. For example:

[
{
"id": "example-id",
"remoteJid": "591xxxxxxxx@s.whatsapp.net",
"pushName": "John Doe",
"profilePicUrl": "...",
"createdAt": "2025-09-19T03:02:10.442Z",
"updatedAt": "2025-09-21T00:37:05.814Z",
"instanceId": "example-instance-id",
"isGroup": false,
"isSaved": true,
"type": "contact"
}
]

What did you observe instead of what you expected?

The pushName field is returned as an empty string ("") despite the contact having a name in WhatsApp. Example response:

[
{
"id": "example-id",
"remoteJid": "example@s.whatsapp.net",
"pushName": "",
"profilePicUrl": "https://example.com/profile.jpg",
"createdAt": "2025-09-19T03:02:10.442Z",
"updatedAt": "2025-09-21T00:37:05.814Z",
"instanceId": "example-instance-id",
"isGroup": false,
"isSaved": true,
"type": "contact"
}
]

Screenshots/Videos

No response

Which version of the API are you using?

2.3.3

What is your environment?

Windows

Other environment specifications

OS: Linux
Testing tool: Postman
WhatsApp version: 2.3000.1027503953
Hardware: x64 CPU

If applicable, paste the log output

Image

Additional Notes

Tested with WhatsApp version 2.3000.1027503953. The issue persists in both bulk and filtered queries. No sensitive data in the logs. If more details are needed, I can provide additional examples.

{{baseUrl}}/chat/findChats/ presents the same problem

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