PineCone Connection Failing via API Key - Forbidden

Describe the problem/error/question

I am trying to connect to Pinecone. This is my first setup with pinecone. When I enter the API Key, I receive below error message.

What is the error message (if any)?


It works with the same API Key on the cloud version, so it has to do something with the installation. However this is a fresh install of the Community edition.

Please share your workflow

no workflow built, since conenction does not work.

(Select the nodes on your canvas and use the keyboard shortcuts CMD+C/CTRL+C and CMD+V/CTRL+V to copy and paste the workflow.)

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.54.4
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via (Docker, npm, n8n cloud, desktop app): Docker Compose
  • Operating system: Hetzner

Installation done 100% as per docs, no tunnel activated

hello @Ivan_Rizzuto

Forbidden means you are doing something wrong (wrong key/api url/token/etc). Check the docs:
Quickstart - Pinecone Docs

Hi @barn4k

Thanks your response.

This is not really possible, when I enter the API Key in the Hostef Cloud Version of n8n then it works.

1:1 the exact same thing.

Also I’m just trying the connection with pinecone, this litteraly has only one field → the API key.

So something is with the config or a bug?

Well, another option - pinecone is not available from Hetzner.

Can you please check that the site is working with that workflow (just copy and run it)?

What do you mean by pinecone is not available from Hetzner? I’m using pinecone as a hosted service from (https://www.pinecone.io/)

And again, the exact same works from the hosted cloud version.

I mean the pinecone url may be blocked from specific platforms. That’s why I’ve asked to check the availability with the above workflow

Hi

Seems to be successfull:

Still the connection to Pinecone is failing with the same error… it’s somehow kind of frustrating, since this is a completely fresh install…

Just remember, i followed 100% this guide:

Hetzner | n8n Docs

Do I maybe need to do an additional config, like for example the thing with the tunnelling?

According to the screen, the connection was NOT successful. It means the pinecone site is not available from Hetzner and you can’t connect to the pinecone from it

I’ve tested the same setup with Digital Ocean, and it works perfectly there. It appears that Pinecone may be blocking access from Hetzner’s IP ranges.

If this is indeed the case, I would suggest updating your documentation to reflect this limitation. While N8N may not be able to resolve the issue directly, it would be helpful to recommend reliable hosting providers that are known to work well with your solution.

Thank you for your support in addressing this matter.

1 Like

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.