I'm having a persistent issue connecting my n8n workflow to the OpenAI API. I'm running n8n version 1.91.3 on Zeabur (using Docker). I keep getting a "Forbidden" error

What is the error message ?

Couldn’t connect with these settings
Forbidden

Please share your workflow

My workflow is very basic for testing the connection. It has a Start node connected to an OpenAI Chat node. In the OpenAI Chat node, I’m trying to use the gpt-3.5-turbo model with a simple prompt.

Share the output returned by the last node

The OpenAI Chat node says: “Couldn’t connect with these settings: Forbidden”.

Information on your n8n setup

  • n8n version: 1.91.3
  • Database: Default (SQLite)
  • n8n EXECUTIONS_PROCESS setting: Default
  • Running n8n via: Docker on Zeabur
  • Operating system: Windows (accessing Zeabur)

Extra information I have tried:

I’ve made absolutely sure my OpenAI API key (starting with “sk-”) is correct in n8n. My OpenAI account has money in it. I can even access the OpenAI website from my computer without any problems.

I would like to know:

Why is n8n on Zeabur saying “Forbidden” when I try to connect to OpenAI? Is there something special I need to do to make this work with Docker on Zeabur? Could Zeabur be blocking the connection somehow?

Any help would be great.

you also use the correct org id?

I have the same problem.
The Open AI authen can run successfully in LOCAL, but it pops up “Couldn’t connect with these settings - Forbidden” in my Zeabur n8n.