Skip to content

users.list endpoint returning no users at all #11760

@ratsclub

Description

@ratsclub

Description:

When sending a GET request to the mentioned endpoint it does not return any user at all. However I'm able to make requests to im.list.everyone without any issue.

Steps to reproduce:

Make a GET request to the endpoint.

Expected behavior:

Return the system's users.

Actual behavior:

Returning empty object.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.68.3
  • Operating System: Ubuntu Server 18.04 Bionic
  • Deployment Method: snap
  • Number of Running Instances: 1
  • NodeJS Version: 8.11.3

Relevant logs:

What the endpoint is actually returning me:

{
    "users": [],
    "count": 0,
    "offset": 0,
    "total": 0,
    "success": true
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions