Hey @Aditya_Ujjwal . The fix others pointed you to is right, and here’s the why in one line so it sticks: that “writes must use the documents API” error is Pinecone telling you you’re straddling two incompatible designs. Pick one and commit.
Path A — a classic index where you own the embeddings. Use a separate embedding node (e.g. OpenAI text-embedding-3-small, 1536 dims, cosine), the Pinecone node upserts fine, and at query time you embed the question with the exact same model. Full control, and you can migrate later.
Path B — keep the document-schema index and let Pinecone embed server-side with its hosted model. Then n8n’s native Pinecone node can’t write it (that’s your error) — you drive upserts and search over the documents API with an HTTP Request node, pinning X-Pinecone-API-Version: 2026-07, and you don’t use an external embedding node at all. Less to maintain, but you’re locked to Pinecone’s model list.
On choosing the embedding model: that Microsoft/NVIDIA dropdown is Pinecone’s inference list (Path B), not something your n8n OpenAI node reads — which is exactly why mixing them threw the error.
Four things that’ll bite later, whichever path you take:
- Give each chunk a stable ID like docID#chunkNo so re-syncs upsert in place instead of duplicating.
- One namespace per source document, so you can delete/re-ingest cleanly and filter retrieval.
- Keep per-vector metadata under ~40KB or writes get rejected on big chunks.
- Before bulk-loading, sanity-check with 3–5 questions you already know the answers to — cheap way to catch a bad chunk size or dimension mismatch early.
The diagram above lays it out end to end: your docs get chunked and cleaned once, then the flow forks into the two paths — Path A (classic index + your own OpenAI embeddings) along the top, Path B (document-schema index + Pinecone’s server-side embeddings over the documents API) below it. The amber strip at the bottom is the four guardrails — stable chunk IDs, per-source namespaces, the ~40KB metadata cap, and the golden-question check — that apply no matter which path you choose. It’s yours to keep.
Full disclosure, I am affiliated with Pond AI. We build, run and maintain custom AI agents, and RAG pipelines in n8n are our daily bread. Happy to map your exact setup (index type, doc volume, update cadence) into a free architecture blueprint you keep regardless. If you ever hand a build to us, there’s a 7-day refund cover.
Which route fits you better — a fresh classic index you fully control, or staying on the document-schema one you’ve already set up?