How to query channels the current user is NOT a member of? #5719
shubhamsinghshubham777
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
In my app, Stream Channels function as Forums (Public, Private, Hidden - invite-only). How do I search for non-member Public and Private Channels? (i.e. if someone else has created a channel, and I want to be a part of it, how do I query that channel and request my membership in it?)
So far, when trying to do the same, I receive this error message:
QueryChannels failed with error: "2 channels match your query but cannot be returned because you don't have access to them. Did you forget to include {members: $in: ["xxxxxxxxxx"]}?" More information available at https://getstream.io/chat/docs/api_errors_response
Beta Was this translation helpful? Give feedback.
All reactions