We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When I use the client.search function for some channels ids which doesn't exist, instead of returning an empty list it gives me the following error:
client.search
Traceback (most recent call last): File "senti_abuse_analysis.py", line 177, in <module> response = client.search({"id": {"$in": channel_ids}}, {"updated_at":{"$gt": previous_max_date}}, limit=400) File "/home/ec2-user/anaconda3/envs/pytorch_latest_p36/lib/python3.6/site-packages/stream_chat/client.py", line 358, in search return self.get("search", params={"payload": json.dumps(params)}) File "/home/ec2-user/anaconda3/envs/pytorch_latest_p36/lib/python3.6/site-packages/stream_chat/client.py", line 90, in get return self._make_request(self.session.get, relative_url, params, None) File "/home/ec2-user/anaconda3/envs/pytorch_latest_p36/lib/python3.6/site-packages/stream_chat/client.py", line 77, in _make_request return self._parse_response(response) File "/home/ec2-user/anaconda3/envs/pytorch_latest_p36/lib/python3.6/site-packages/stream_chat/client.py", line 46, in _parse_response raise StreamAPIException(response.text, response.status_code) stream_chat.base.exceptions.StreamAPIException: StreamChat error code 4: Search failed with error: "There are no searchable channels""
The text was updated successfully, but these errors were encountered:
No branches or pull requests
When I use the
client.search
function for some channels ids which doesn't exist, instead of returning an empty list it gives me the following error:The text was updated successfully, but these errors were encountered: