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

/groups.counters returns unreads and unreadsFrom as null when the group is new #12560

Closed
MarcosSpessatto opened this issue Nov 7, 2018 · 1 comment
Assignees

Comments

@MarcosSpessatto
Copy link
Contributor

No description provided.

@amirHizkiya
Copy link

I have experienced this issue, I was coming to log it and found this case. Here are some of my findings. There seems to be two different issues that I have experienced with this REST API Path.

The following is based on the Rest API - IM.Counters Endpoint

  1. I'm not sure if this is a bug, it may be as designed. As a user without out the permission view-room-administration, I cannot successfully call this end-point, I get a not authorized error. Even on roomIds I'm a part of.

  2. As an Admin (userId + auth_token in header) when calling the endpoint with roomid + username, this is when I get null values. Even though the response show success:true some of the values are still null no matter the value. (e.g. unreads should be >0, but returns null).

Hope this helps.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants