Skip to content

Anthropic Credentials validation returns 404 "Resource not found" despite valid API key #26381

Description

@fischer-lindemeier

Bug Description

When testing Anthropic API credentials in n8n, the validation always fails with the error:
"The resource you are requesting could not be found"
This happens even though the API key is valid and works correctly via HTTP Request Node.

To Reproduce

  1. Go to Credentials → Add new → Anthropic
  2. Enter a valid Anthropic API key
  3. Try different Base URL configurations
  4. Click "Retry" or save credentials
  5. Error appears: "Couldn't connect with these settings - The resource you are requesting could not be found"

Expected behavior

Credential validation should succeed when a valid API key is provided, allowing the Anthropic Chat Model node to be used in AI Agent workflows.

Debug Info

n8n Version: 2.9.4 (also reproduced on 2.8.3)
Node.js Version: (check via: node -v in your terminal)
Database: SQLite (default) or your DB type
Running n8n via: Docker
Operating System: Linux

Operating System

Docker 13

n8n Version

2.9.4

Node.js Version

Credentials

Database

SQLite (default)

Execution mode

main (default)

Hosting

n8n cloud

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