Inserting vector embeddings and metadata into the index

Is anyone else having trouble uploading data due to “Failed to connect; did you specify the correct index name?”. Each time before an upload I check to make sure I am connected to my instance, but this morning I am getting this error despite the fact that I am connected to my instance. index_name = ‘my-context’

index = pinecone.Index(index_name)

view index stats

index.describe_index_stats() {‘dimension’: 1536,
‘index_fullness’: 0.5,
‘namespaces’: {‘’: {‘vector_count’: 199946}},
‘total_vector_count’: 199946. Here is the error: ---------------------------------------------------------------------------
ConnectionResetError Traceback (most recent call last)
/usr/local/lib/python3.9/dist-packages/urllib3/connectionpool.py in urlopen(self, method, url, body, headers, retries, redirect, assert_same_host, timeout, pool_timeout, release_conn, chunked, body_pos, **response_kw)
702 # Make the request on the httplib connection object.
→ 703 httplib_response = self._make_request(
704 conn,

37 frames
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

ProtocolError Traceback (most recent call last)
ProtocolError: (‘Connection aborted.’, ConnectionResetError(104, ‘Connection reset by peer’))

The above exception was the direct cause of the following exception:

PineconeProtocolError Traceback (most recent call last)
/usr/local/lib/python3.9/dist-packages/pinecone/core/utils/error_handling.py in inner_func(*args, **kwargs)
23 raise
24 except ProtocolError as e:
—> 25 raise PineconeProtocolError(f’Failed to connect; did you specify the correct index name?') from e
26
27 # Override signature

PineconeProtocolError: Failed to connect; did you specify the correct index name?

Hi @noesis, and sorry for the late reply. I was unable to reproduce this issue - but please reopen if you are still experiencing it.