Skip to content

OpenAI Node v2 with custom Base URL (SiliconFlow) returns 404 at runtime, while credential test succeeds; AI Agent and OpenAI Node v1.8 work #21651

@cryozerolabs

Description

@cryozerolabs

Bug Description

In a Docker-deployed n8n, using OpenAI Node v2 (Message a model) against SiliconFlow’s OpenAI-compatible API (https://api.siliconflow.cn/v1), the credential test succeeds but the node fails at runtime with:

The resource you are requesting could not be found
404 page not found

In the same environment, AI Agent → OpenAI Chat Model works, and rolling back to n8n 1.112.6 + OpenAI Node v1.8 (same docker-compose and credentials) also works. This looks like a regression specific to OpenAI Node v2 or its request path handling.

To Reproduce

  1. Create OpenAI Credential:
Image
  1. Add node OpenAI → Message a model (OpenAI Node v2):
  • Use the same credential
  • Pick a valid model
  • Simple prompt (e.g., “hello”)
  • Execute
  1. Observe error:

The resource you are requesting could not be found
404 page not found

Image
  1. Controls:
  • AI Agent → OpenAI Chat Model with the same credential → works
Image
  • Separate Docker instance: n8n 1.112.6 + OpenAI Node v1.8 (Latest) with the same docker-compose & credentials → works
Image

Expected behavior

With a successful credential test, OpenAI Node v2 should call SiliconFlow’s OpenAI-compatible API and return a normal response (parity with AI Agent and OpenAI Node v1.8).

Debug Info

Debug info

core

  • n8nVersion: 1.118.2
  • platform: docker (self-hosted)
  • nodeJsVersion: 22.21.0
  • nodeEnv: production
  • database: sqlite
  • executionMode: regular
  • concurrency: -1
  • license: community
  • consumerId: unknown

storage

  • success: all
  • error: all
  • progress: false
  • manual: true
  • binaryMode: memory

pruning

  • enabled: true
  • maxAge: 336 hours
  • maxCount: 10000 executions

client

  • userAgent: mozilla/5.0 (macintosh; intel mac os x 10_15_7) applewebkit/537.36 (khtml, like gecko) chrome/142.0.0.0 safari/537.36
  • isTouchDevice: false

Generated at: 2025-11-08T15:51:30.269Z

Operating System

macOs

n8n Version

1.118.2

Node.js Version

22.21.0

Database

SQLite (default)

Execution mode

main (default)

Hosting

self hosted

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions