Client connection errors
Cannot import name Pinecone
from pinecone
When using an older version of the Python client (earlier than 3.0.0), trying to import the Pinecone
class raises the following error:
console
Shell
No attribute init
When using Python client version 3.0.0 and later, trying to initialize a client using pinecone.init(api_key='XXX, environment='XXX')
raises the following error:
console
Pinecone
class instead:
Python
Using an outdated client with a serverless index
Trying to connect to a serverless index with an outdated Pinecone client (earlier than 3.0.0 for Python, earlier than 2.0.0 for Node.js) will raise errors similar to one of the following:console
Shell
Index creation errors
Missing spec
parameter
Using the new API, creating an index requires passing appropriate values into the spec
parameter. Without this spec
parameter, the create_index
method raises the following error:
console
Project contains max serverless indexes
Each project is limited to 20 serverless indexes. Trying to create more than 20 serverless indexes in a project raises the following403 (FORBIDDEN)
error:
console