Common errors
Index creation error - missing spec parameter
Fix the Pinecone create_index TypeError for a missing spec parameter by passing the spec argument that sets the index's deployment model, cloud, and region.
Serverless index creation error - max serverless indexes
Resolve the Pinecone serverless index creation error caused by hitting the 20-index project limit by deleting unused indexes or upgrading your plan.
Serverless index connection errors
Fix Pinecone serverless connection errors that fail to resolve a controller hostname by upgrading to a current version of the Python or Node.js SDK.
Error: Handshake read failed when connecting
Fix the Pinecone 'Handshake read failed' connection error by checking your firewall and network, then verifying your SDK setup and API key are correct.
PineconeAttribute errors with LangChain
Resolve PineconeAttribute errors in LangChain caused by outdated packages by upgrading langchain-pinecone and the Pinecone Python SDK to current releases.
Error: Cannot import name 'Pinecone' from 'pinecone'
Fix the Python ImportError 'cannot import name Pinecone from pinecone' by upgrading the Pinecone Python SDK to 3.0.0 or later, with or without gRPC.
Python AttributeError: module pinecone has no attribute init
Fix the Python AttributeError 'module pinecone has no attribute init' by upgrading to Pinecone Python SDK 3.0 or later, which serverless indexes require.