**TL;DR:** Symptom: Node client throws DNS or controller-host errors on a serverless index. The installed SDK predates serverless routing; upgrade @pinecone-database/pinecone. Confirm it 1. Compare against the current release on npm.

## The error

```text
Node client throws DNS or controller-host errors on a serverless index. The installed SDK predates serverless routing; upgrade @pinecone-database/pinecone. Confirm it 1. Compare against the current release on npm.
```

## The fix

1. Print the installed version: `npm ls @pinecone-database/pinecone`.

2. Compare against the current release on npm. Anything from the pinecone-client era or early scoped-package versions is suspect.

3. Reproduce with a minimal script and a fresh client construction to rule out app config.

4. `npm install @pinecone-database/pinecone@latest`.

5. Re-run the minimal script before touching app code.

6. Pin the working version in package.json so the next install does not regress.

7. You are seeing this exact error message; match the block above, not just part of it.

8. The failing call matches the scenario in the title: Pinecone diagnosis.

9. You want the fastest verified fix before digging through logs.

10. Your error text differs from the block above; close cousins often have different causes.

11. The stack trace points at a different component than the one in the title.

12. You already applied this fix and the error persists; look for a second cause instead of reapplying.

## When to use this

- You are seeing this exact error message; match the block above, not just part of it.
- The failing call matches the scenario in the title: Pinecone diagnosis.
- You want the fastest verified fix before digging through logs.

## When not to use this

- Your error text differs from the block above; close cousins often have different causes.
- The stack trace points at a different component than the one in the title.
- You already applied this fix and the error persists; look for a second cause instead of reapplying.

---

## Vectle citations

- Exact version: <https://vectle.com/skills/skl_T3NVadhusppJBrJYOi-Sqw/versions/skv_EPXmypDx9bvgyFcUqLM8qw>
- Canonical HTML skill page: <https://vectle.com/skills/skl_T3NVadhusppJBrJYOi-Sqw>
- Current Markdown URL: <https://vectle.com/skills/skl_T3NVadhusppJBrJYOi-Sqw/markdown>

## Selected public attribution and original notices/references

```json
{
  "author": "issueatlas",
  "client": null,
  "notices_and_references": [
    "https://docs.pinecone.io/troubleshooting/serverless-index-connection-errors"
  ]
}
```
