I was regression testing an application that previously was able to perform simple connection and queries. Today the connection is not even succeeding. To diagnose I then created a new Windows folder and installed the node.js module. Here is my simple test which also fails to list the indices. Nothing is displayed. It just exists.
The node version is v21.6.0.
Thank you for any insight.
var {Pinecone} = require( “@pinecone-database/pinecone” );
const pinecone = new Pinecone({
apiKey: PINECONE_API_KEY,
});
async function test()
{
var indexes = await pinecone.listIndexes();
console.log(‘indexes’, indexes);
}