Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG][API] channel.members is returning error for GENERAL room #9056

Closed
rafaelks opened this issue Dec 8, 2017 · 0 comments · Fixed by #9110
Closed

[BUG][API] channel.members is returning error for GENERAL room #9056

rafaelks opened this issue Dec 8, 2017 · 0 comments · Fixed by #9110

Comments

@rafaelks
Copy link
Contributor

rafaelks commented Dec 8, 2017

Description:

API is returning error, but works for other rooms.

Server Setup Information:

  • Version of Rocket.Chat Server: 0.60.0-develop

Expected behavior:

  • Should return the members list;

Actual behavior:

:method: GET
:scheme: https
:path: /api/v1/channels.members?roomId=GENERAL&count=50&offset=0
:authority: foo.rocket.chat
accept: */*
content-type: application/json
x-auth-token: foobar
user-agent: Rocket.Chat/127 CFNetwork/893.14 Darwin/17.3.0
x-user-id: Xx6KW6XQsFkmDPGdE
accept-language: en-us
accept-encoding: br, gzip, deflate

:status: 400
access-control-allow-origin: *
cache-control: no-store
content-encoding: gzip
content-type: application/json
date: Fri, 08 Dec 2017 19:59:48 GMT
pragma: no-cache
vary: Accept-Encoding
x-instance-id: xSRJaNFk2Gt2tTbmr
content-length: 91

{
  "success": false,
  "error": "Cannot convert undefined or null to object"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants