-
Notifications
You must be signed in to change notification settings - Fork 83
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] index.list() error message for non-serverless indexes is unclear #331
Comments
Can confirm this is also an issue for us |
Hi there, any updates on this? Thank you |
I attempted to reproduce this on the latest version (v4.0.0) on macOS and don't see the problem anymore. |
@daverigby I finally figured out why this was not working. This only works for a serverless index. The error message could probably be clearer. |
Thanks @cbelsole . I'll re-open and change to cover the fact that the error is not clear for non-server less indexes. |
Additionally, this issue is occurring in version 5.3.1, and I experienced it on Google Cloud Run
|
Is this a new bug in the Pinecone Python client?
Current Behavior
I followed the code exactly from the documentation
This succeeds (as expected) against a serverless index, but when run on a pod-based index (which indeed does not support
list()
) an unclear error message is returned:Expected Behavior
When run on a non-serverless index (which do not support
list()
) a clear error message that this is an unsupported operation should be displayed.Steps To Reproduce
Run code using env specified
Code
Relevant log output
Environment
Additional Context
none
The text was updated successfully, but these errors were encountered: