This error is thrown when the client attempts to make a request and never receives any response.

This could be due to:

  • Network problems which prevent the request from being completed.
  • An outage of Pinecone's APIs. See Pinecone's status page to find out whether there is an ongoing incident.

The cause property will contain a reference to the underlying error. Inspect its value to find out more about the root cause of the error.

import { Pinecone } from '@pinecone-database/pinecone';

const p = new Pinecone({ apiKey: 'invalid-api-key-value' })

try {
await p.listIndexes();
} catch (e) {
console.log(; // PineconeConnectionError
console.log(e.cause); // Error [FetchError]: The request failed and the interceptors did not return an alternative response
console.log(e.cause.cause); // TypeError: fetch failed
console.log(e.cause.cause.cause); // Error: getaddrinfo ENOTFOUND




cause?: Error

The underlying error, if any.

message: string
name: string
stack?: string
prepareStackTrace?: ((err, stackTraces) => any)

Type declaration

stackTraceLimit: number


  • Create .stack property on a target object


    • targetObject: object
    • Optional constructorOpt: Function

    Returns void