OpenAI API authorization is not working (self-hosting, npm)

Hello, everyone. I have this problem. Thank you for your help.

OpenAI API authorization is not working. At the same time with the same key on the n8n.cloud authorization works.

Couldn’t connect with these settings
Forbidden

Share the output returned by the last node

Information on your n8n setup

  • n8n version: 1.56.2
  • Database (default: SQLite): default
  • n8n EXECUTIONS_PROCESS setting (default: own, main): default
  • Running n8n via npm
  • Operating system: win10

It looks like your topic is missing some important information. Could you provide the following if applicable.

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

Having the same issue here.

Having the same issue here

The problem was solved by installing a VPN.