You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug] Pinecone defaults to us-west-gcp when used in VSCode terminal #167
results in HTTPError: ('401 Client Error: Unauthorized for url: https://controller.us-west1-gcp.pinecone.io/actions/whoami', 'API key is missing or invalid for the environment "us-west1-gcp". Check that the correct environment is specified.')
Expected Behavior
Should not try to adress us-west-gcp when asia southeast is referenced
Steps To Reproduce
running on python 3.10.0 on windows. Happens only in Visual Studio Code (clean project, no virtual environment). Happens in a jupyter notebook and when entering python through powershell.
Relevant log output
HTTPError: ('401 Client Error: Unauthorized for url: https://controller.us-west1-gcp.pinecone.io/actions/whoami', 'API key is missing or invalid for the environment "us-west1-gcp". Check that the correct environment is specified.')
@michox there is a typo in your code , you've used enviroment as the variable, whereas it should be environment.
We currently don't do strict checks on variables you pass, but we should add this. Thanks for the feedback!
Activity
rajat08 commentedon Apr 27, 2023
@michox there is a typo in your code , you've used
enviromentas the variable, whereas it should beenvironment.We currently don't do strict checks on variables you pass, but we should add this. Thanks for the feedback!
feat(tooling): api_coverage gate, @api_op registry, conformance packa…