-
Notifications
You must be signed in to change notification settings - Fork 13.5k
im.members endpoint reports internal undefined property #11758
Copy link
Copy link
Closed
Milestone
Description
Description:
When querying the im.members endpoint with a roomID (eg. api/v1/im.members?roomId=hE3ePz72DsCSkAkw6sTpmBpWonZMSLH4bi) i'm met with a 400 response and what appears to be an internal error outputted as the reason for failure:
{"success":false,"error":"Cannot read property 'username' of undefined"}
Steps to reproduce:
Make any query to the im.members endpoint with a roomID.
Expected behavior:
I should receive a useful error message (if indeed there's a fault with the query) or a response associated with the query.
Actual behavior:
I receive the above error response.
Server Setup Information:
- Version of Rocket.Chat Server: 0.68.3
- Operating System: Linux
- Deployment Method: Snaps
- Number of Running Instances: 1
- DB Replicaset Oplog: Enabled
- NodeJS Version: 8.11.3 - x64
Relevant logs:
No error output in logs.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels