Help pushing vectors to pinecone DB in Next JS

Hi @dattasumit2019 and thanks for your reply!

Could you modify your console.log statement in the catch block of your try/catch to print out what vectors looks like? I suspect there could still be a formatting issue…

console.log(`error inserting vectors: %o into pinecone`, vectors, error);

It’s also curious to me that your other log statements suggest no content was loaded from a target PDF file - could you also share your filesystem layout (where are the docs) and the code you’re using to load and chunk your documents as well?

Best,
Zack